changeset 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 6a0788146ccb
children f9ff71c71f9e
files include.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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.