* Use -f (force) when copying, or else it may bail out if the target already

exists -- this seems to happen only in case a specific name is given for
  the target, though, so it might well be a bug in the fs_shell as well.
  Seen when copying kernel.so to _KERNEL_ on a "update-all".


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27016 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2008-08-18 08:39:46 +00:00
parent b06a48ab8f
commit e7ada11b55
+2 -2
View File
@@ -13,7 +13,7 @@
# dontClearImage # dontClearImage
# isVMwareImage # isVMwareImage
# optionalPackageDescriptions # optionalPackageDescriptions
# #
# addattr # addattr
# bfsShell # bfsShell
# copyattr # copyattr
@@ -48,7 +48,7 @@ if [ $isImage ]; then
tPrefix=/myfs/ tPrefix=/myfs/
cd="$fsShellCommand cd" cd="$fsShellCommand cd"
scd="$fsShellCommand cd" scd="$fsShellCommand cd"
cp="$fsShellCommand cp" cp="$fsShellCommand cp -f"
copyAttrs="$fsShellCommand cp -a" copyAttrs="$fsShellCommand cp -a"
ln="$fsShellCommand ln" ln="$fsShellCommand ln"
mkdir="$fsShellCommand mkdir" mkdir="$fsShellCommand mkdir"