init.bat: remove GIT\bin from path

The only reason was bash but bash.exe is also in <GIT>\usr\bin.
This commit is contained in:
Jan Schulz 2016-03-02 18:25:25 +01:00
parent 2ccc06e639
commit fbccc6b790

4
vendor/init.bat vendored
View File

@ -79,9 +79,9 @@ if not defined TERM set TERM=cygwin
:FOUND_GIT :FOUND_GIT
:: Add git to the path :: Add git to the path
@if defined GIT_INSTALL_ROOT ( @if defined GIT_INSTALL_ROOT (
rem add the unix commands including bash in GIT\bin at the end to not shadow windows commands like more rem add the unix commands at the end to not shadow windows commands like more
echo Enhancing PATH with unix commands from git [%GIT_INSTALL_ROOT%] echo Enhancing PATH with unix commands from git [%GIT_INSTALL_ROOT%]
set "PATH=%PATH%;%GIT_INSTALL_ROOT%\bin;%GIT_INSTALL_ROOT%\usr\bin;%GIT_INSTALL_ROOT%\usr\share\vim\vim74" set "PATH=%PATH%;%GIT_INSTALL_ROOT%\usr\bin;%GIT_INSTALL_ROOT%\usr\share\vim\vim74"
:: define SVN_SSH so we can use git svn with ssh svn repositories :: define SVN_SSH so we can use git svn with ssh svn repositories
if not defined SVN_SSH set "SVN_SSH=%GIT_INSTALL_ROOT:\=\\%\\bin\\ssh.exe" if not defined SVN_SSH set "SVN_SSH=%GIT_INSTALL_ROOT:\=\\%\\bin\\ssh.exe"
) )