Update normalize of shebangs

epel9
Jitka Plesnikova 4 years ago
parent f6ee0504c7
commit 4a4926d9a6

@ -48,7 +48,7 @@ with "%{_libexecdir}/%{name}/test".
# Help file to recognise the Perl scripts
for F in t/*.t; do
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' "$F"
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl}{$Config{startperl}}' "$F"
chmod +x "$F"
done

Loading…
Cancel
Save