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

index ba0028e8a2fc3ac833efefa1ee4d7b71a6614742..df7f43ab5f4a8924943eb9f2882f6e8d13b6f60a 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -2154,6 +2154,9 @@ exit 1
 %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.173461 seconds and 4 git commands to generate.