Mercurial > hg > aboriginal
changeset 1502:14588e923205
Fix PATH setting sequence so using more/record-commands.sh to wrap the host $PATH, (I.E. run it before running host-tools.sh) doesn't die unable to find mkdir.
author | Rob Landley <rob@landley.net> |
---|---|
date | Wed, 14 Mar 2012 06:19:21 -0500 |
parents | fddd7d20ae72 |
children | ef9114dfbd2e |
files | sources/include.sh |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/sources/include.sh Wed Mar 14 06:17:51 2012 -0500 +++ b/sources/include.sh Wed Mar 14 06:19:21 2012 -0500 @@ -71,8 +71,6 @@ # Adjust $PATH export OLDPATH="$PATH" -PATH="$(hosttools_path)" - # If record-commands.sh set up a wrapper directory, adjust $PATH again. if [ -f "$WRAPDIR/wrappy" ] then @@ -83,7 +81,9 @@ PATH="$WRAPDIR" elif [ ! -f "$HOSTTOOLS/busybox" ] then - PATH="$PATH:$OLDPATH" + PATH="$(hosttools_path):$OLDPATH" +else + PATH="$(hosttools_path)" fi # Create files with known permissions