diff options
author | ewt <devnull@localhost> | 1997-03-04 02:07:12 +0000 |
---|---|---|
committer | ewt <devnull@localhost> | 1997-03-04 02:07:12 +0000 |
commit | e91eaa89c9f71dc223562350a8421d775227beb7 (patch) | |
tree | e60d81ba00c0d24169e10e259fb3c32840c75df6 | |
parent | 1874a35403f88f592f31d07a243102d94ab10827 (diff) | |
download | librpm-tizen-e91eaa89c9f71dc223562350a8421d775227beb7.tar.gz librpm-tizen-e91eaa89c9f71dc223562350a8421d775227beb7.tar.bz2 librpm-tizen-e91eaa89c9f71dc223562350a8421d775227beb7.zip |
made xargs more resilant to quoting characters in filenames
CVS patchset: 1466
CVS date: 1997/03/04 02:07:12
-rw-r--r-- | autodeps/linux.req | 2 | ||||
-rw-r--r-- | autodeps/solaris.req | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/autodeps/linux.req b/autodeps/linux.req index 3f8c209db..f4914aca8 100644 --- a/autodeps/linux.req +++ b/autodeps/linux.req @@ -8,5 +8,5 @@ filelist=`xargs -r file | fgrep executable | cut -d: -f1 ` for f in $filelist; do ldd $f | awk '/=>/ { print $1 }' -done | sort -u | xargs -r -n 1 basename | sort -u +done | sort -u | | sed "s/['\"]/\\\&/g" | xargs -r -n 1 basename | sort -u diff --git a/autodeps/solaris.req b/autodeps/solaris.req index 3f8c209db..f4914aca8 100644 --- a/autodeps/solaris.req +++ b/autodeps/solaris.req @@ -8,5 +8,5 @@ filelist=`xargs -r file | fgrep executable | cut -d: -f1 ` for f in $filelist; do ldd $f | awk '/=>/ { print $1 }' -done | sort -u | xargs -r -n 1 basename | sort -u +done | sort -u | | sed "s/['\"]/\\\&/g" | xargs -r -n 1 basename | sort -u |