[packages/php/PHP_5_3] fix shebang

atler atler at pld-linux.org
Fri Jul 3 10:46:59 CEST 2020


commit bf7871e119da7a87518028dafe8856a5ec6cd26e
Author: Jan Palus <atler at pld-linux.org>
Date:   Fri Jul 3 10:46:40 2020 +0200

    fix shebang

 php.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/php.spec b/php.spec
index cdbc6b8..68635d1 100644
--- a/php.spec
+++ b/php.spec
@@ -2169,6 +2169,9 @@ gzip -dc %{SOURCE15} | tar xf - -C sapi/
 %patch257 -p1
 %patch258 -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/5e3f4cec80b906a89d71a2c385a0af27b49d6aa9



More information about the pld-cvs-commit mailing list