attempting to add the default git path to the path variable - hopefully the server has the same one

This commit is contained in:
Shannon
2014-05-09 15:58:09 +10:00
parent 70f65583d7
commit 2eef061c42

View File

@@ -10,10 +10,12 @@ ECHO Current folder: %CD%
for /f "delims=" %%A in ('dir %nuGetFolder%node.js.* /b') do set "nodePath=%nuGetFolder%%%A\"
for /f "delims=" %%A in ('dir %nuGetFolder%npm.js.* /b') do set "npmPath=%nuGetFolder%%%A\tools\"
set "gitPath=C:\Program Files (x86)\Git\bin\"
ECHO Temporarily adding Npm and Node to path
SET oldPath=%PATH%
path=%npmPath%;%nodePath%;%PATH%
path=%npmPath%;%nodePath%;%gitPath%;%PATH%
SET buildFolder=%CD%