changeset 1803:a49c6d9353bf

Don't overwrite existing files in busybox install.
author Rob Landley <rob@landley.net>
date Mon, 02 Nov 2015 01:14:58 -0600
parents 315c9e9af893
children 8b464e266623
files sources/sections/busybox.build
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sources/sections/busybox.build	Mon Nov 02 01:14:08 2015 -0600
+++ b/sources/sections/busybox.build	Mon Nov 02 01:14:58 2015 -0600
@@ -30,7 +30,7 @@
   then
     continue
   fi
-  [ ! -f "$INSTDIR/$i" ] && (ln -sf busybox "$INSTDIR/$i" || dienow)
+  [ ! -e "$INSTDIR/$i" ] && (ln -s busybox "$INSTDIR/$i" || dienow)
 done
 
 # Reset error condition, the last file already existing is not an error