com web/rmtools: Add git to the path: include/BuildVC.php
| From: | Anatol Belski | Date: | Tue, 31 Jul 2018 18:13:35 +0000 |
| Subject: | com web/rmtools: Add git to the path: include/BuildVC.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-27185@lists.php.net to get a copy of this message | ||
Commit: 66ef4c100a1e31749d797e057f0dd7100162408d
Author: Anatol Belski <ab@php.net> Tue, 31 Jul 2018 20:13:35 +0200
Parents: 4287a34caba8a69952882fbb6ef423a70f44fcfe
Branches: master
Link: http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=66ef4c100a1e31749d797e057f0dd7100162408d
Log:
Add git to the path
Changed paths:
M include/BuildVC.php
Diff:
diff --git a/include/BuildVC.php b/include/BuildVC.php
index 51391db..8fdfab7 100644
--- a/include/BuildVC.php
+++ b/include/BuildVC.php
@@ -78,6 +78,12 @@ class BuildVC {
$env['NODEBUG'] = "1";
}
+ foreach ($env as $k => &$v) {
+ if (strtolower($k) == "path") {
+ $v = 'c:\apps\git\bin;' . $v;
+ }
+ }
+
$this->env = $env;
$this->pgo_init_lock_fd = NULL;