summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-12-02 21:58:04 +0000
committerjbj <devnull@localhost>1999-12-02 21:58:04 +0000
commitb80c6385f40de1c066e27eadc08cde7ff025a1f4 (patch)
tree58890b2a232d952f94f0d35cf407a313c1d10021 /scripts
parentd863da403bf652bbe253b3ce484ca1235beab2e8 (diff)
downloadlibrpm-tizen-b80c6385f40de1c066e27eadc08cde7ff025a1f4.tar.gz
librpm-tizen-b80c6385f40de1c066e27eadc08cde7ff025a1f4.tar.bz2
librpm-tizen-b80c6385f40de1c066e27eadc08cde7ff025a1f4.zip
Handle both old and new style bash2 hacks for now.
CVS patchset: 3456 CVS date: 1999/12/02 21:58:04
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/check-prereqs2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/check-prereqs b/scripts/check-prereqs
index 2b96453ca..a0681fdbc 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