projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d863da4
)
Handle both old and new style bash2 hacks for now.
author
jbj
<devnull@localhost>
Thu, 2 Dec 1999 21:58:04 +0000
(21:58 +0000)
committer
jbj
<devnull@localhost>
Thu, 2 Dec 1999 21:58:04 +0000
(21:58 +0000)
CVS patchset: 3456
CVS date: 1999/12/02 21:58:04
scripts/check-prereqs
patch
|
blob
|
history
diff --git
a/scripts/check-prereqs
b/scripts/check-prereqs
index
2b96453
..
a0681fd
100755
(executable)
--- a/
scripts/check-prereqs
+++ b/
scripts/check-prereqs
@@
-5,7
+5,7
@@
bashit="/bin/bash2 --rpm-requires"
# Make sure that this bash has the rpm-requires hack
$bashit < /dev/null 2>&1 > /dev/null || exit $?
-prereqs="`cat | $bashit | sort | uniq | sed -e 's/^bash(//' -e 's/)$//'`"
+prereqs="`cat | $bashit | sort | uniq | sed -e 's/^bash(//' -e 's/)$//'`"
-e 's/^executable(//' -e 's/)$//'`"
[ -z "$prereqs" ] && exit 0
for prereq in $prereqs