Skip to content

Commit 34c9a9f

Browse files
author
nalla
committed
portable-release: handle spaces in install path
The `git-bash.bat` can not handle setups that were installed in a path with a space in it. According to `help start` you are providing a title if you use quotes. Because of this a dummy title must be provided to quote the path to the console application. Signed-off-by: nalla <[email protected]>
1 parent 43cdb89 commit 34c9a9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

portable/git-bash.bat.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
@SET MSYSTEM=MINGW@@BITNESS@@
99

1010
@IF NOT EXIST %git_install_root%usr\bin\mintty.exe GOTO startsh
11-
@START %git_install_root%usr\bin\mintty -i /usr/share/git/git-for-windows.ico /usr/bin/bash --login %*
11+
@START "Git Bash" "%git_install_root%usr\bin\mintty" -i /usr/share/git/git-for-windows.ico /usr/bin/bash --login %*
1212
@EXIT
1313

1414
:startsh
15-
@START %git_install_root%usr\bin\bash --login -i %*
15+
@START "Git Bash" "%git_install_root%usr\bin\bash" --login -i %*
1616
@EXIT

0 commit comments

Comments
 (0)