[packages/php/PHP_7_1] fix shebang

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


commit b0de04e5c17c92a1693b4912d8190c347b27182b
Author: Jan Palus <atler at pld-linux.org>
Date:   Fri Jul 3 10:41:13 2020 +0200

    fix shebang

 php.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/php.spec b/php.spec
index 44772bb..42fdc02 100644
--- a/php.spec
+++ b/php.spec
@@ -2026,6 +2026,9 @@ cp -p php.ini-production php.ini
 %patch71 -p1
 %patch72 -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/4b017cc187acfb5904be9ea145456ab8f5a4baeb



More information about the pld-cvs-commit mailing list