summaryrefslogtreecommitdiff
path: root/devel/arcanist-lib/files/patch-src_utils_PhutilExecutionEnvironment.php
diff options
context:
space:
mode:
authorMichael Gmelin <grembo@FreeBSD.org>2020-05-19 15:24:21 +0000
committerMichael Gmelin <grembo@FreeBSD.org>2020-05-19 15:24:21 +0000
commitcd507151b29100b63cca093a80dd116c0870dbc5 (patch)
tree6cf1dbd9921a94df4ce3af318b44673b5b12c058 /devel/arcanist-lib/files/patch-src_utils_PhutilExecutionEnvironment.php
parentUpdate to version 2.32; (diff)
Patch paths to php executable, so things like ssh-auth work again
without workarounds.
Diffstat (limited to 'devel/arcanist-lib/files/patch-src_utils_PhutilExecutionEnvironment.php')
-rw-r--r--devel/arcanist-lib/files/patch-src_utils_PhutilExecutionEnvironment.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/arcanist-lib/files/patch-src_utils_PhutilExecutionEnvironment.php b/devel/arcanist-lib/files/patch-src_utils_PhutilExecutionEnvironment.php
new file mode 100644
index 000000000000..717f78d04873
--- /dev/null
+++ b/devel/arcanist-lib/files/patch-src_utils_PhutilExecutionEnvironment.php
@@ -0,0 +1,11 @@
+--- src/utils/PhutilExecutionEnvironment.php.orig 2020-05-19 10:38:43 UTC
++++ src/utils/PhutilExecutionEnvironment.php
+@@ -36,7 +36,7 @@ final class PhutilExecutionEnvironment extends Phobjec
+ }
+
+ list($env) = execx(
+- 'php -d variables_order=E -r %s',
++ '%%PHP_CMD%% -d variables_order=E -r %s',
+ 'echo json_encode($_ENV);');
+ $env = phutil_json_decode($env);
+