Index: ossp-pkg/shtool/ChangeLog RCS File: /v/ossp/cvs/ossp-pkg/shtool/ChangeLog,v rcsdiff -q -kk '-r1.143' '-r1.144' -u '/v/ossp/cvs/ossp-pkg/shtool/ChangeLog,v' 2>/dev/null --- ChangeLog 2001/01/17 10:15:02 1.143 +++ ChangeLog 2001/01/29 14:06:27 1.144 @@ -11,6 +11,12 @@ Changes between 1.5.1 and 1.5.2 (06-Jul-2000 to 15-Jan-2001): + *) Fixed IFS usage in `shtool slo': `OIFS="$IFS" IFS="..."' is not + portable, because some brain-dead Bourne-Shells (for instance /bin/sh + under Solaris 2.8) evaluate from right-to-left instead of the usual and + expected left-to-right. Fixed by adding a semicolon. + [Christoph Schug , Ralf S. Engelschall] + *) Created a new `-e ' option for `shtool install' which can be used one or multiple times to apply one or more sed(1) commands on-the-fly to installed files. Index: ossp-pkg/shtool/THANKS RCS File: /v/ossp/cvs/ossp-pkg/shtool/THANKS,v rcsdiff -q -kk '-r1.17' '-r1.18' -u '/v/ossp/cvs/ossp-pkg/shtool/THANKS,v' 2>/dev/null --- THANKS 2000/06/14 19:01:26 1.17 +++ THANKS 2001/01/29 14:06:27 1.18 @@ -23,6 +23,7 @@ o Benjamin Saller o Sascha Schumann o Yitzchak Scott-Thoennes + o Christoph Schug o Peter Simons o Evgeny Stambulchik o Gopal Narayanan Index: ossp-pkg/shtool/sh.slo RCS File: /v/ossp/cvs/ossp-pkg/shtool/sh.slo,v rcsdiff -q -kk '-r1.15' '-r1.16' -u '/v/ossp/cvs/ossp-pkg/shtool/sh.slo,v' 2>/dev/null --- sh.slo 2001/01/17 09:55:11 1.15 +++ sh.slo 2001/01/29 14:06:27 1.16 @@ -72,7 +72,7 @@ LIBS_DSO='' # for each library... -OIFS="$IFS" IFS=':' +OIFS="$IFS"; IFS=':' for lib in $LIBS; do [ ".$lib" = . ] && continue @@ -82,14 +82,14 @@ found_dir='' # for each directory... - OIFS2="$IFS" IFS=":$DIFS" + OIFS2="$IFS"; IFS=":$DIFS" for dir in ${DIRS} switch-to-defdirs ${DIRS_DEFAULT}; do [ ".$dir" = . ] && continue [ ".$dir" = .switch-to-defdirs ] && found_indefdir=yes [ ! -d $dir ] && continue # search the file - OIFS3="$IFS" IFS="$DIFS" + OIFS3="$IFS"; IFS="$DIFS" for file in '' `cd $dir && ls lib${lib}.* 2>/dev/null`; do [ ".$file" = . ] && continue case $file in @@ -138,7 +138,7 @@ IFS="$OIFS" # also pass-through unused dirs even if it's useless -OIFS="$IFS" IFS=':' +OIFS="$IFS"; IFS=':' for dir in $DIRS; do dirlist="${DIRS_OBJ}:${DIRS_PIC}:${DIRS_DSO}:" if [ ".`echo \"$dirlist\" | fgrep :$dir:`" = . ]; then @@ -149,7 +149,7 @@ # reassemble the options but separated by type for type in OBJ PIC DSO; do - OIFS="$IFS" IFS=':' + OIFS="$IFS"; IFS=':' eval "libs=\"\$LIBS_${type}\"" opts='' for lib in $libs; do