[packages/perl-CGI] - fixed shebang fix

qboosh qboosh at pld-linux.org
Mon May 23 18:10:33 CEST 2022


commit 91d74dc0c42751eb410f271ac9e0941a1e87161e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon May 23 18:11:25 2022 +0200

    - fixed shebang fix

 perl-CGI.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/perl-CGI.spec b/perl-CGI.spec
index f0327fe..c909a4a 100644
--- a/perl-CGI.spec
+++ b/perl-CGI.spec
@@ -61,7 +61,7 @@ Przykłady użycia modułu CGI.
 %prep
 %setup -q -n %{pdir}-%{version}
 
-%{__sed} -i -e 's|/usr/local/bin/perl|/usr/bin/perl|g' examples/*.{cgi,pl}
+%{__sed} -i -e 's|/usr/bin/env perl|%{__perl}|g' examples/*.{cgi,pl}
 
 %build
 %{__perl} Makefile.PL \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-CGI.git/commitdiff/91d74dc0c42751eb410f271ac9e0941a1e87161e



More information about the pld-cvs-commit mailing list