diff options
| author | Michael Gmelin <grembo@FreeBSD.org> | 2020-05-19 15:24:21 +0000 |
|---|---|---|
| committer | Michael Gmelin <grembo@FreeBSD.org> | 2020-05-19 15:24:21 +0000 |
| commit | cd507151b29100b63cca093a80dd116c0870dbc5 (patch) | |
| tree | 6cf1dbd9921a94df4ce3af318b44673b5b12c058 /devel/arcanist-lib/files/patch-src_workflow_ArcanistAnoidWorkflow.php | |
| parent | Update 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_workflow_ArcanistAnoidWorkflow.php')
| -rw-r--r-- | devel/arcanist-lib/files/patch-src_workflow_ArcanistAnoidWorkflow.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/arcanist-lib/files/patch-src_workflow_ArcanistAnoidWorkflow.php b/devel/arcanist-lib/files/patch-src_workflow_ArcanistAnoidWorkflow.php new file mode 100644 index 000000000000..5efc47a6ea8f --- /dev/null +++ b/devel/arcanist-lib/files/patch-src_workflow_ArcanistAnoidWorkflow.php @@ -0,0 +1,16 @@ +--- src/workflow/ArcanistAnoidWorkflow.php.orig 2020-05-14 23:31:28 UTC ++++ src/workflow/ArcanistAnoidWorkflow.php +@@ -24,11 +24,10 @@ EOTEXT + } + + public function runWorkflow() { +- if (!Filesystem::binaryExists('python3')) { ++ if (!Filesystem::binaryExists('%%PYTHON_CMD%%')) { + throw new PhutilArgumentUsageException( + pht( +- 'The "arc anoid" workflow requires "python3" to be available '. +- 'in your $PATH.')); ++ 'The "arc anoid" workflow requires "%%PYTHON_CMD%%" to be available.')); + } + + $support_dir = phutil_get_library_root('arcanist'); |
