commit 78edf1cd8c8b45a9c9c7215e120f4ca50d61c671
Author: Marcin Krol <[email protected]>
Date: Mon Apr 22 18:38:23 2024 +0200
- fix interpreter shebang in examples
perl-PPIx-QuoteLike.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/perl-PPIx-QuoteLike.spec b/perl-PPIx-QuoteLike.spec
index 47ff3b2..2a227c8 100644
--- a/perl-PPIx-QuoteLike.spec
+++ b/perl-PPIx-QuoteLike.spec
@@ -47,6 +47,9 @@ rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
cp -a eg $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+%{__sed} -i -e '1s,/usr/bin/env perl,/usr/bin/perl,' \
+ $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/eg/pqldump
+
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-PPIx-QuoteLike.git/commitdiff/78edf1cd8c8b45a9c9c7215e120f4ca50d61c671
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit