From 87c7c2f8d7fe1e0a8cf430448dccc625d1d5a347 Mon Sep 17 00:00:00 2001 From: jbj Date: Mon, 11 Oct 1999 15:47:27 +0000 Subject: [PATCH] Add quotes to check for file list existence (nigel@pobox.com). CVS patchset: 3380 CVS date: 1999/10/11 15:47:27 --- autodeps/solaris.req | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autodeps/solaris.req b/autodeps/solaris.req index 9393e2e..d0f7f89 100644 --- a/autodeps/solaris.req +++ b/autodeps/solaris.req @@ -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 }' -- 2.7.4