changeset 1014:75054b02f21d

When USE_TOYBOX=1, don't try to truncate and append to a file that's in use. (Bug spotted by David Seikel.)
author Rob Landley <rob@landley.net>
date Sat, 27 Mar 2010 20:26:58 -0500
parents 2b8c9bc5a745
children cf7d68a74efa
files sources/sections/toybox.build
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sources/sections/toybox.build	Fri Mar 26 22:00:51 2010 -0500
+++ b/sources/sections/toybox.build	Sat Mar 27 20:26:58 2010 -0500
@@ -12,4 +12,4 @@
   make install_flat PREFIX="$STAGE_DIR" || dienow
 fi
 
-cp toybox${SKIP_STRIP:+_unstripped} "$STAGE_DIR/toybox"
+mv toybox${SKIP_STRIP:+_unstripped} "$STAGE_DIR/toybox"