diff options
author | marc <devnull@localhost> | 1997-09-17 17:52:08 +0000 |
---|---|---|
committer | marc <devnull@localhost> | 1997-09-17 17:52:08 +0000 |
commit | b1af513e6358428e6f934db1c611222812d3f55f (patch) | |
tree | 264f3ba8d04db97d53fd9396a8acc21c3c9e44dc /autodeps | |
parent | d4803c088c1e115dfbb21e9d2c312bef8af2decb (diff) | |
download | librpm-tizen-b1af513e6358428e6f934db1c611222812d3f55f.tar.gz librpm-tizen-b1af513e6358428e6f934db1c611222812d3f55f.tar.bz2 librpm-tizen-b1af513e6358428e6f934db1c611222812d3f55f.zip |
Fix requires generation for scripts
CVS patchset: 1830
CVS date: 1997/09/17 17:52:08
Diffstat (limited to 'autodeps')
-rw-r--r-- | autodeps/linux.req | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/autodeps/linux.req b/autodeps/linux.req index eb1f6f4b2..30fcd9bc9 100644 --- a/autodeps/linux.req +++ b/autodeps/linux.req @@ -7,12 +7,12 @@ ulimit -c 0 filelist=`sed "s/['\"]/\\\&/g"` exelist=`echo $filelist | xargs -r file | fgrep executable | cut -d: -f1 ` -scriptlist=`echo $filelist | xargs -r file | egrep ":.*(perl|script)" | cut -d: -f1 ` +scriptlist=`echo $filelist | xargs -r file | egrep ":.*(perl |script )" | cut -d: -f1 ` for f in $exelist; do ldd $f | awk '/=>/ { print $1 }' done | sort -u | sed "s/['\"]/\\\&/g" | xargs -r -n 1 basename | sort -u for f in $scriptlist; do - head -1 $f | sed -e 's/^\#\!//' | cut -d" " -f1 + head -1 $f | sed -e 's/^\#\![ ]*//' | cut -d" " -f1 done | sort -u |