Skip to content

Commit e7c55cb

Browse files
cprietodlemstra
authored andcommitted
Use git bash from Scoop
- If git is installed through Scoop and not with the normal git installer it will fail - Detects git installed with scoop and sets the path to this bash executable if present
1 parent 5bca30b commit e7c55cb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CloneRepositories.cmd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ if not "%1"=="" set REPOS=%1
66
set TYPE="full"
77
if not "%2"=="" set TYPE=%2
88

9+
set BASH="%USERPROFILE%\scoop\apps\git\current\bin\bash.exe"
10+
if exist %BASH% goto EXECUTE
11+
912
set BASH="%PROGRAMFILES%\Git\bin\bash.exe"
1013
if exist %BASH% goto EXECUTE
1114

0 commit comments

Comments
 (0)