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

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