Blame SOURCES/redhat-rpm-config-9.0.3-shebang.patch

cff7e8
--- redhat-rpm-config-9.0.3/find-requires.original	2015-01-07 10:47:24.250285190 +0900
cff7e8
+++ redhat-rpm-config-9.0.3/find-requires	2015-01-07 10:48:01.483585227 +0900
cff7e8
@@ -74,7 +74,7 @@ fi
cff7e8
 # --- Script interpreters.
cff7e8
 for f in $scriptlist; do
cff7e8
     [ -r $f -a -x $f ] || continue
cff7e8
-    interp=`head -n 1 $f | sed -e 's/^\#\![ 	]*//' | cut -d" " -f1`
cff7e8
+    interp=`head -n 1 $f | grep '^#!' | sed -e 's/^\#\![ 	]*//' | cut -d" " -f1`
cff7e8
     interplist="$interplist $interp"
cff7e8
     case $interp in
cff7e8
     */perl)	perllist="$perllist $f" ;;