ossp-pkg/shtool/sh.slo 1.15 -> 1.16
--- 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
|
|