Add quotes to check for file list existence (nigel@pobox.com).
authorjbj <devnull@localhost>
Mon, 11 Oct 1999 15:47:27 +0000 (15:47 +0000)
committerjbj <devnull@localhost>
Mon, 11 Oct 1999 15:47:27 +0000 (15:47 +0000)
CVS patchset: 3380
CVS date: 1999/10/11 15:47:27

autodeps/solaris.req

index 9393e2e..d0f7f89 100644 (file)
@@ -8,7 +8,7 @@ export PATH
 ulimit -c 0
 
 filelist=`sed "s/['\"]/\\\&/g"`
-[ -z $filelist ] && exit #emulate -r option for xargs
+[ -z "$filelist" ] && exit #emulate -r option for xargs
 
 for f in `echo $filelist | xargs file | fgrep executable | cut -d: -f1`; do
     ldd $f 2>/dev/null | awk '/\=\>/ { print $1 }'