summaryrefslogtreecommitdiffstats
path: root/source/installer/build_installer.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source/installer/build_installer.sh')
-rwxr-xr-xsource/installer/build_installer.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/installer/build_installer.sh b/source/installer/build_installer.sh
index 15700c3d3..48268c98c 100755
--- a/source/installer/build_installer.sh
+++ b/source/installer/build_installer.sh
@@ -660,8 +660,6 @@ fi
chown -R root:root .
# Copy config:
-# If we you rather like bash instead of busybox's ash, you'll need to adjust
-# the symlinks in /bin and stuff.
install -m644 $BUSYBOXCFG .config
# Build:
@@ -683,6 +681,11 @@ rm -f${VERBOSE1} bin/cp
cp --remove-destination -fa${VERBOSE2} * $PKG/$ARCH-installer-filesystem/
+# If we built bin/env, make a link in usr/bin as well:
+if [ -x $PKG/$ARCH-installer-filesystem/bin/env ]; then
+ ( cd $PKG/$ARCH-installer-filesystem/usr/bin ; ln -sf ../../bin/env . )
+fi
+
}