diff options
-rw-r--r-- | autodeps/linux.req | 4 | ||||
-rw-r--r-- | autodeps/sparc-linux.req | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/autodeps/linux.req b/autodeps/linux.req index e32e8b093..aa6f477bc 100644 --- a/autodeps/linux.req +++ b/autodeps/linux.req @@ -6,9 +6,9 @@ ulimit -c 0 filelist=`sed "s/['\"]/\\\&/g"` -exelist=`echo $filelist | xargs -r file | fgrep executable | cut -d: -f1 ` +exelist=`echo $filelist | xargs -r file | grep ":.*executable" | cut -d: -f1 ` scriptlist=`echo $filelist | xargs -r file | egrep ":.* (commands|script) " | cut -d: -f1 ` -liblist=`echo $filelist | xargs -r file | grep "shared object" | cut -d : -f1 ` +liblist=`echo $filelist | xargs -r file | grep ":.*shared object" | cut -d : -f1 ` for f in $exelist; do if [ -x $f ]; then diff --git a/autodeps/sparc-linux.req b/autodeps/sparc-linux.req index d1b674da1..937efa5bb 100644 --- a/autodeps/sparc-linux.req +++ b/autodeps/sparc-linux.req @@ -6,9 +6,9 @@ ulimit -c 0 filelist=`sed "s/['\"]/\\\&/g"` -exelist=`echo $filelist | xargs -r file | fgrep executable | cut -d: -f1 ` +exelist=`echo $filelist | xargs -r file | grep ":.*executable" | cut -d: -f1 ` scriptlist=`echo $filelist | xargs -r file | egrep ":.* (commands|script) " | cut -d: -f1 ` -liblist=`echo $filelist | xargs -r file | grep "shared object" | cut -d : -f1 ` +liblist=`echo $filelist | xargs -r file | grep ":.*shared object" | cut -d : -f1 ` for f in $exelist; do if [ -x $f ]; then |