# HG changeset patch # User Rob Landley # Date 1270451160 18000 # Node ID ac61473c45e88d0e7e95ccbaf6c86c6840aab751 # Parent f3b242456ff7ffcc42566fb875c2931113523d08 Milton Miller spotted a bug where PATH was being set twice, and thus wasn't including both potential compiler locations at once. diff -r f3b242456ff7 -r ac61473c45e8 run-from-build.sh --- a/run-from-build.sh Sun Apr 04 05:48:50 2010 -0500 +++ b/run-from-build.sh Mon Apr 05 02:06:00 2010 -0500 @@ -2,7 +2,8 @@ # Grab cross compiler (for distcc) and run development environment. -export PATH="$(pwd)/build/host:$(pwd)/build/"{,simple-}"cross-compiler-$1/bin:$PATH" +TOP="$(pwd)" +export PATH="$TOP/build/host:$TOP/build/cross-compiler-$1/bin:$TOP/build/simple-cross-compiler-$1/bin:$PATH" # Run development environment.