[packages/php/PHP_7_0] fix shebang

atler atler at pld-linux.org
Fri Jul 3 10:43:16 CEST 2020


commit e4deb0aa862c0ca3cf3c9cfdc9a1b02b37de07d8
Author: Jan Palus <atler at pld-linux.org>
Date:   Fri Jul 3 10:42:53 2020 +0200

    fix shebang

 php.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/php.spec b/php.spec
index ec66b8b..cdf70dd 100644
--- a/php.spec
+++ b/php.spec
@@ -2014,6 +2014,9 @@ cp -p php.ini-production php.ini
 %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/99b305526dbc481023c158d55620da4df08d99a1



More information about the pld-cvs-commit mailing list