[packages/perl-PPIx-Regexp] - fix interpreter shebang in examples
hawk
hawk at pld-linux.org
Mon Apr 22 18:52:38 CEST 2024
commit 2ab869724bfa4e71dc13e8c161d6b381e0f87a18
Author: Marcin Krol <hawk at tld-linux.org>
Date: Mon Apr 22 18:27:33 2024 +0200
- fix interpreter shebang in examples
perl-PPIx-Regexp.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/perl-PPIx-Regexp.spec b/perl-PPIx-Regexp.spec
index 335f362..56a60ba 100644
--- a/perl-PPIx-Regexp.spec
+++ b/perl-PPIx-Regexp.spec
@@ -56,6 +56,8 @@ 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}/preslurp
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-PPIx-Regexp.git/commitdiff/2ab869724bfa4e71dc13e8c161d6b381e0f87a18
More information about the pld-cvs-commit
mailing list