diff run-from-build.sh @ 939:abff74b958a1

Once again add /sbin:/usr/sbin to $PATH when mke2fs isn't in $PATH.
author Rob Landley <rob@landley.net>
date Sun, 20 Dec 2009 00:32:17 -0600
parents 4bfe2b34dd9f
children fc134a13357e
line wrap: on
line diff
--- a/run-from-build.sh	Sat Dec 19 00:51:16 2009 -0600
+++ b/run-from-build.sh	Sun Dec 20 00:32:17 2009 -0600
@@ -2,6 +2,8 @@
 
 # Grab cross compiler (for distcc) and run development environment.
 
-export PATH="$(pwd)/build/host:$(pwd)/build/cross-compiler-$1/bin:$PATH" &&
-cd build/system-image-"$1" &&
-./dev-environment.sh
+export PATH="$(pwd)/build/host:$(pwd)/build/cross-compiler-$1/bin:$PATH"
+
+# Run development environment.
+
+cd build/system-image-"$1" && ./dev-environment.sh