From 4a4926d9a6a5551f4ac17f5e2b591bc6647e06d4 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Mon, 28 Jun 2021 15:31:01 +0200 Subject: [PATCH] Update normalize of shebangs --- perl-DateTime-Format-Pg.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-DateTime-Format-Pg.spec b/perl-DateTime-Format-Pg.spec index 7874dfb..b560a6f 100644 --- a/perl-DateTime-Format-Pg.spec +++ b/perl-DateTime-Format-Pg.spec @@ -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