diff root-filesystem.sh @ 1332:42496ee2815f

Fix regression: make #!/bin/sh point to bash instead of busybox shell for dev environment. (Oops.)
author Rob Landley <rob@landley.net>
date Mon, 14 Mar 2011 18:46:08 -0500
parents 78e786334c5b
children c7dfe0e54a80
line wrap: on
line diff
--- a/root-filesystem.sh	Wed Feb 09 21:06:18 2011 -0600
+++ b/root-filesystem.sh	Mon Mar 14 18:46:08 2011 -0500
@@ -16,9 +16,10 @@
 
 cp -a "$BUILD/simple-root-filesystem-$ARCH/." "$STAGE_DIR" || dienow
 
-# Remove shared libraries copied from cross compiler.
+# Remove shared libraries copied from cross compiler, and let /bin/sh point
+# to bash out of native compiler instead of busybox shell.
 
-rm -rf "$BUILD/root-filesystem-$ARCH/usr/lib" 2>/dev/null
+rm -rf "$BUILD/root-filesystem-$ARCH/"{usr/lib,bin/sh} 2>/dev/null
 
 # Copy native compiler, but do not overwrite existing files (which could
 # do bad things to busybox).