changeset 1145:690b2f4cbbd3

Simplify run-from-build.sh.
author Rob Landley <rob@landley.net>
date Sun, 27 Jun 2010 21:17:11 -0500
parents 319327a27998
children 73d2f37234d7
files run-from-build.sh
diffstat 1 files changed, 4 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/run-from-build.sh	Sun Jun 27 21:00:55 2010 -0500
+++ b/run-from-build.sh	Sun Jun 27 21:17:11 2010 -0500
@@ -1,10 +1,7 @@
 #!/bin/bash
 
-# Grab cross compiler (for distcc) and run development environment.
+# Run development environment out of build directory, using host-tools.sh if
+# available.
 
-TOP="$(pwd)"
-export PATH="$TOP/build/host:$TOP/build/cross-compiler-$1/bin:$TOP/build/simple-cross-compiler-$1/bin:$PATH"
-
-# Run development environment.
-
-cd build/system-image-"$1" && ./dev-environment.sh
+cd build/system-image-"$1" &&
+  PATH="$(pwd)/build/host:$PATH" ./dev-environment.sh