Handle both old and new style bash2 hacks for now.

CVS patchset: 3456
CVS date: 1999/12/02 21:58:04
This commit is contained in:
jbj 1999-12-02 21:58:04 +00:00
parent d863da403b
commit b80c6385f4
1 changed files with 1 additions and 1 deletions

View File

@ -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