[packages/php/PHP_5_5] fix shebang

atler atler at pld-linux.org
Fri Jul 3 10:45:12 CEST 2020


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

    fix shebang

 php.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/php.spec b/php.spec
index 0634fed..ed662e3 100644
--- a/php.spec
+++ b/php.spec
@@ -2090,6 +2090,9 @@ exit 1
 %patch67 -p1
 %patch70 -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/2d96d201be16f5fc4e50fc59e6ef649dda280c8f



More information about the pld-cvs-commit mailing list