]> git.pld-linux.org Git - packages/php.git/commitdiff
fix shebang
authorJan Palus <atler@pld-linux.org>
Fri, 3 Jul 2020 08:42:53 +0000 (10:42 +0200)
committerJan Palus <atler@pld-linux.org>
Fri, 3 Jul 2020 08:42:53 +0000 (10:42 +0200)
php.spec

index ec66b8b72006980fc5729e55cbf4938c2f6974c3..cdf70dd7b992431ea3923a821a3e8fc5d883eea6 100644 (file)
--- 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
This page took 0.591465 seconds and 4 git commands to generate.