Fix definition of CLASSPATH in GNUstep.{sh,csh}, which was constructed

backward.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32969 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Wolfgang Lux 2011-05-03 07:40:10 +00:00
parent af51b6720b
commit 7085f35269
3 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2011-05-03 Wolfgang Lux <wolfgang.lux@gmail.com>
* GNUstep.sh.in:
* GNUstep.csh.in: Fix definition of CLASSPATH, which was
constructed backward.
2011-04-30 Wolfgang Lux <wolfgang.lux@gmail.com>
* Instance/library.make:

View file

@ -312,7 +312,7 @@ foreach dir ( `/bin/sh -c 'IFS=:; for i in '"${GNUSTEP_LIBRARY_PATHLIST}"'; do e
setenv CLASSPATH "${path_fragment}"
else if ( { (echo ":${CLASSPATH}:"\
|grep -v ":${path_fragment}:" >/dev/null) } ) then
setenv CLASSPATH "${CLASSPATH}:${path_fragment}"
setenv CLASSPATH "${path_fragment}:${CLASSPATH}"
endif
set path_fragment="${dir}/Libraries/Guile"

View file

@ -498,7 +498,7 @@ for dir in $GNUSTEP_LIBRARY_PATHLIST; do
else
if ( echo ":${CLASSPATH}:"\
|grep -v ":${path_fragment}:" >/dev/null ); then
CLASSPATH="$CLASSPATH:$path_fragment"
CLASSPATH="$path_fragment:$CLASSPATH"
fi
fi