summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorewt <devnull@localhost>1997-03-04 02:08:21 +0000
committerewt <devnull@localhost>1997-03-04 02:08:21 +0000
commit020f9d270c05b5f3c106e7eb88bb4d686f033f8e (patch)
tree1bd668749652a991e4ab2effc09e9c52170af041
parente91eaa89c9f71dc223562350a8421d775227beb7 (diff)
downloadrpm-020f9d270c05b5f3c106e7eb88bb4d686f033f8e.tar.gz
rpm-020f9d270c05b5f3c106e7eb88bb4d686f033f8e.tar.bz2
rpm-020f9d270c05b5f3c106e7eb88bb4d686f033f8e.zip
fixed some simple problems from the last revision
CVS patchset: 1467 CVS date: 1997/03/04 02:08:21
-rw-r--r--autodeps/linux.req4
-rw-r--r--autodeps/solaris.req4
2 files changed, 4 insertions, 4 deletions
diff --git a/autodeps/linux.req b/autodeps/linux.req
index f4914aca8..9983b3e8f 100644
--- a/autodeps/linux.req
+++ b/autodeps/linux.req
@@ -4,9 +4,9 @@
ulimit -c 0
-filelist=`xargs -r file | fgrep executable | cut -d: -f1 `
+filelist=`| sed "s/['\"]/\\\&/g" | xargs -r file | fgrep executable | cut -d: -f1 `
for f in $filelist; do
ldd $f | awk '/=>/ { print $1 }'
-done | sort -u | | sed "s/['\"]/\\\&/g" | 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 f4914aca8..9983b3e8f 100644
--- a/autodeps/solaris.req
+++ b/autodeps/solaris.req
@@ -4,9 +4,9 @@
ulimit -c 0
-filelist=`xargs -r file | fgrep executable | cut -d: -f1 `
+filelist=`| sed "s/['\"]/\\\&/g" | xargs -r file | fgrep executable | cut -d: -f1 `
for f in $filelist; do
ldd $f | awk '/=>/ { print $1 }'
-done | sort -u | | sed "s/['\"]/\\\&/g" | xargs -r -n 1 basename | sort -u
+done | sort -u | sed "s/['\"]/\\\&/g" | xargs -r -n 1 basename | sort -u