From 8617b2fe71e17516c25cdc026c920e38ea738bca Mon Sep 17 00:00:00 2001 From: Elliot Lee Date: Thu, 11 Jul 2002 18:48:52 +0000 Subject: [PATCH] find-requires fix from 67325 --- find-requires | 2 +- redhat-rpm-config.spec | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/find-requires b/find-requires index c3dade5..f28109f 100755 --- a/find-requires +++ b/find-requires @@ -72,7 +72,7 @@ fi # --- Script interpreters. for f in $scriptlist; do [ -r $f -a -x $f ] || continue - interp=`head -1 $f | sed -e 's/^\#\![ ]*//' | cut -d" " -f1` + interp=`head -n 1 $f | sed -e 's/^\#\![ ]*//' | cut -d" " -f1` interplist="$interplist $interp" case $interp in */perl) perllist="$perllist $f" ;; diff --git a/redhat-rpm-config.spec b/redhat-rpm-config.spec index bed9f38..c395ff4 100644 --- a/redhat-rpm-config.spec +++ b/redhat-rpm-config.spec @@ -29,6 +29,7 @@ rm -rf ${RPM_BUILD_ROOT} %changelog * Thu Jul 11 2002 Elliot Lee 7.3.92-6 - find-lang.sh fix from 67368 +- find-requires fix from 67325 * Thu Jul 11 2002 Elliot Lee 7.3.92-5 - Add /etc/rpm/macros back to make #67951 go away