com web/rmtools: use git.exe path globally for pickle: client/bin/pickle.bat
| From: | Anatol Belski | Date: | Thu, 07 May 2015 07:00:41 +0000 |
| Subject: | com web/rmtools: use git.exe path globally for pickle: client/bin/pickle.bat | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-25986@lists.php.net to get a copy of this message | ||
Commit: 2af555827864c13acebc203086a70e03a2cbd20d
Author: Anatol Belski <ab@php.net> Thu, 7 May 2015 09:00:41 +0200
Parents: eb0d46f986cddf0b424246cb45f75e2e19b167c0
Branches: master pecl_legacy
Link: http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=2af555827864c13acebc203086a70e03a2cbd20d
Log:
use git.exe path globally for pickle
Changed paths:
M client/bin/pickle.bat
Diff:
diff --git a/client/bin/pickle.bat b/client/bin/pickle.bat
index b7b70c8..466314d 100644
--- a/client/bin/pickle.bat
+++ b/client/bin/pickle.bat
@@ -70,6 +70,8 @@ SET VC11_X64_SHELL=%comspec% /k ""C:\Program Files (x86)\Microsoft
Visual Studio
REM Run pecl.php
SET BISON_SIMPLE=c:\php-sdk\bin\bison.simple
+rem appending the git path to the end, this should reduce negative effects of command names
clashing, fe "find". Pickle embedded within the other PHP scripts seems not be able to
pickup the correct git.exe with proc_open(). For the last solution one can try installing msysgit
globally on the system with the current installer, that will put git.exe on the path globally.
+set PATH=%PATH%;c:\\apps\\git\\bin
@ECHO ON
%PECL_PHP_CMD% %BAT_DIR%..\script\pickle.php %*
@ECHO OFF