[packages/php/PHP_5_6] fix shebang
atler
atler at pld-linux.org
Fri Jul 3 10:44:23 CEST 2020
commit 2da8b9abb9e9ef820c5aa44280a35c8f94c36da2
Author: Jan Palus <atler at pld-linux.org>
Date: Fri Jul 3 10:43:54 2020 +0200
fix shebang
php.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/php.spec b/php.spec
index ba0028e..df7f43a 100644
--- a/php.spec
+++ b/php.spec
@@ -2154,6 +2154,9 @@ exit 1
%patch73 -p1
%patch74 -p1
+sed -E -i -e '1s,#!\s*/usr/bin/env\s+(.*),#!%{__bindir}\1,' \
+ run-tests.php
+
%{__sed} -i -e '/PHP_ADD_LIBRARY_WITH_PATH/s#xmlrpc,#xmlrpc-epi,#' ext/xmlrpc/config.m4
# cleanup backups after patching
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/70f4bf44985dd6fcf664bbbe5cdbe0b515a776f6
More information about the pld-cvs-commit
mailing list