Put Tools first

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@9590 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2001-04-16 03:10:29 +00:00
parent f549e14094
commit 00ef10d09b
3 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2001-04-14 Adam Fedor <fedor@gnu.org>
* GNUstep.sh.in: Put Tools directory first in search path so
it will find scripts first.
* GNUstep.csh.in: Likewise.
2001-04-14 Mirko Viviani <mirko.viviani@rccr.cremona.it>
* target.make: fixed target for FreeBSD aout.

View file

@ -72,10 +72,10 @@ endif
set tp = ""
foreach dir ( `/bin/sh -c 'IFS=:; for i in ${GNUSTEP_PATHPREFIX}; do echo $i; done'` )
set tp=${tp}${dir}/Tools:
if ( ! ${?GNUSTEP_FLATTENED} ) then
set tp=${tp}${dir}/Tools/${GNUSTEP_HOST_CPU}/${GNUSTEP_HOST_OS}:
endif
set tp=${tp}${dir}/Tools:
end
setenv GNUSTEP_PATHPREFIX_LIST $GNUSTEP_PATHPREFIX
setenv PATH ${tp}${PATH}

View file

@ -79,11 +79,11 @@ tmp_IFS="$IFS"
IFS=:
temp_path=
for dir in $GNUSTEP_PATHPREFIX_LIST; do
temp_path=$temp_path$dir/Tools:
if [ -z "$GNUSTEP_FLATTENED" ]; then
temp_path=$temp_path$dir/Tools/${GNUSTEP_HOST_CPU}/${GNUSTEP_HOST_OS}/${LIBRARY_COMBO}:
temp_path=$temp_path$dir/Tools/${GNUSTEP_HOST_CPU}/${GNUSTEP_HOST_OS}:
fi
temp_path=$temp_path$dir/Tools:
done
IFS="$tmp_IFS"
if [ -z "$PATH" ]; then