Skip to content

Commit 1ce1953

Browse files
gabemadlemstra
authored andcommitted
Needed for x64 bash in x86 command prompt
1 parent 3de0bbe commit 1ce1953

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

CloneRepositories.cmd

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ if not "%2"=="" set TYPE=%2
99
set BASH="%PROGRAMFILES%\Git\bin\bash.exe"
1010
if exist %BASH% goto EXECUTE
1111

12-
set bash="%PROGRAMFILES(x86)%\Git\bin\bash.exe"
12+
set BASH="%PROGRAMFILES(x86)%\Git\bin\bash.exe"
13+
if exist %BASH% goto EXECUTE
14+
15+
set BASH="%ProgramW6432%\Git\bin\bash.exe"
1316
if exist %BASH% goto EXECUTE
1417

1518
echo Failed to find bash.exe

0 commit comments

Comments
 (0)