Skip to content

Commit 7797fc3

Browse files
Fix the path to the "cygpath" tool in invoke-unix.bat
1 parent 7f4f1bf commit 7797fc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/invoke-unix.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ SET commands=%commands%
4141
REM Obscure way to get the cmd.exe equivalent to `...` substitution
4242
FOR /F "usebackq tokens=*" %%x IN (`%cygwin_path%cygpath.exe %CD%`) DO SET cygwin_cd=%%x
4343
FOR %%x IN (!commands!) DO (
44-
FOR /F "usebackq tokens=*" %%y IN (`%cygwin_path%bash.exe -c 'if [[ \'%%x\' ^=^= -* ]] ^; then echo \'%%x\' ^; else cygpath \'%%x\' ^; fi'`) DO SET cygwin_cmd=!cygwin_cmd! %%y
44+
FOR /F "usebackq tokens=*" %%y IN (`%cygwin_path%bash.exe -c 'if [[ \'%%x\' ^=^= -* ]] ^; then echo \'%%x\' ^; else /bin/cygpath \'%%x\' ^; fi'`) DO SET cygwin_cmd=!cygwin_cmd! %%y
4545
)
4646

4747
REM All the parameters have been Unix-ified; run the command

0 commit comments

Comments
 (0)