Mercurial > hg > aboriginal
changeset 1027:ac61473c45e8
Milton Miller spotted a bug where PATH was being set twice, and thus wasn't including both potential compiler locations at once.
author | Rob Landley <rob@landley.net> |
---|---|
date | Mon, 05 Apr 2010 02:06:00 -0500 |
parents | f3b242456ff7 |
children | 5897a868313e |
files | run-from-build.sh |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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.