git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@3754 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Scott Christley 1999-02-18 06:59:33 +00:00
parent 82407f84ee
commit 28bfef8f63

View file

@ -126,8 +126,16 @@ case $tool in
full_toolname=`(cd $tool; pwd)`;;
*) # A path that should be searched into GNUstep tool paths
GNUSTEP_HOST_DIR=$GNUSTEP_HOST_CPU/$GNUSTEP_HOST_OS
SPATH=./$GNUSTEP_HOST_DIR
SPATH=./$GNUSTEP_HOST_DIR/$LIBRARY_COMBO
# search for a local one
for file in */$GNUSTEP_HOST_DIR/$LIBRARY_COMBO/$tool; do
if [ -x $file ]; then
full_toolname=$file;
break;
fi
done
# search in the user/local/system
SPATH=$SPATH:$GNUSTEP_USER_ROOT/Tools/$GNUSTEP_HOST_DIR
SPATH=$SPATH:$GNUSTEP_USER_ROOT/Tools/$GNUSTEP_HOST_DIR/$LIBRARY_COMBO
SPATH=$SPATH:$GNUSTEP_LOCAL_ROOT/Tools/$GNUSTEP_HOST_DIR