From b80c6385f40de1c066e27eadc08cde7ff025a1f4 Mon Sep 17 00:00:00 2001 From: jbj Date: Thu, 2 Dec 1999 21:58:04 +0000 Subject: [PATCH] Handle both old and new style bash2 hacks for now. CVS patchset: 3456 CVS date: 1999/12/02 21:58:04 --- scripts/check-prereqs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check-prereqs b/scripts/check-prereqs index 2b96453..a0681fd 100755 --- 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 -- 2.7.4