We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f4f1bf commit 7797fc3Copy full SHA for 7797fc3
util/invoke-unix.bat
@@ -41,7 +41,7 @@ SET commands=%commands%
41
REM Obscure way to get the cmd.exe equivalent to `...` substitution
42
FOR /F "usebackq tokens=*" %%x IN (`%cygwin_path%cygpath.exe %CD%`) DO SET cygwin_cd=%%x
43
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
+ 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
45
)
46
47
REM All the parameters have been Unix-ified; run the command
0 commit comments