Mercurial > hg > aboriginal
diff include.sh @ 329:7a6033813fe5
Minor tweak: when build.sh sets PATH to point to $HOSTTOOLS, don't add it again
in include.sh.
author | Rob Landley <rob@landley.net> |
---|---|
date | Tue, 20 May 2008 03:09:32 -0500 |
parents | 358ef8a27085 |
children | 595332f94fea |
line wrap: on
line diff
--- a/include.sh Mon May 12 00:55:23 2008 -0500 +++ b/include.sh Tue May 20 03:09:32 2008 -0500 @@ -239,7 +239,7 @@ export FROMSRC=../packages export BUILD="${TOP}/build" export HOSTTOOLS="${BUILD}/host" -export PATH="${HOSTTOOLS}:$PATH" +[ "$PATH" != "$HOSTTOOLS" ] && export PATH="${HOSTTOOLS}:$PATH" mkdir -p "${SRCDIR}" # For bash: check the $PATH for new executables added after startup.