@matheusbsbs / matheus-bagliano / commits / 6a5955fac3
Fork 0

git-gui: Use sh.exe in Cygwin shortcuts

Because we are trying to execute /bin/sh we know it must be a real Windows executable and thus ends with the standard .exe suffix. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>

Shawn O. Pearce committed Jul 9, 2007 at 11:09 UTC 6a5955fac3bd5a1369e73512b9606769f0c95e7c
1 file changed +1 -1
lib/shortcut.tcl
+1 -1
@@ -54,7 +54,7 @@ proc do_cygwin_shortcut {} {
54 set sh [exec cygpath \
55 --windows \
56 --absolute \
57 - /bin/sh]
57 + /bin/sh.exe]
58 set me [exec cygpath \
59 --unix \
60 --absolute \