# HG changeset patch # User Rob Landley # Date 1277691431 18000 # Node ID 690b2f4cbbd3bbbf197a87a50bf7eb4f78cb4b2c # Parent 319327a27998e6e7d578ef17684b7386370d5943 Simplify run-from-build.sh. diff -r 319327a27998 -r 690b2f4cbbd3 run-from-build.sh --- 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