Handle both old and new style bash2 hacks for now.
authorjbj <devnull@localhost>
Thu, 2 Dec 1999 21:58:04 +0000 (21:58 +0000)
committerjbj <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

index 2b96453..a0681fd 100755 (executable)
@@ -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