From e7ada11b553510c0df7b36ef1c6d91661ed3a1a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 18 Aug 2008 08:39:46 +0000 Subject: [PATCH] * 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 --- build/scripts/build_haiku_image | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/scripts/build_haiku_image b/build/scripts/build_haiku_image index cb462d6059..7b47eaed8e 100755 --- a/build/scripts/build_haiku_image +++ b/build/scripts/build_haiku_image @@ -13,7 +13,7 @@ # dontClearImage # isVMwareImage # optionalPackageDescriptions -# +# # addattr # bfsShell # copyattr @@ -48,7 +48,7 @@ if [ $isImage ]; then tPrefix=/myfs/ cd="$fsShellCommand cd" scd="$fsShellCommand cd" - cp="$fsShellCommand cp" + cp="$fsShellCommand cp -f" copyAttrs="$fsShellCommand cp -a" ln="$fsShellCommand ln" mkdir="$fsShellCommand mkdir"