]> Pileus Git - ~andy/git/commitdiff
git-gui: Use sh.exe in Cygwin shortcuts
authorShawn O. Pearce <spearce@spearce.org>
Mon, 9 Jul 2007 15:09:27 +0000 (11:09 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 10 Jul 2007 01:19:22 +0000 (21:19 -0400)
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>
lib/shortcut.tcl

index 7086162476089f31368caf3b303ef03153f8a125..26adb99821bec1c9eb75ee218bae8fdef34ebb96 100644 (file)
@@ -54,7 +54,7 @@ proc do_cygwin_shortcut {} {
                                set sh [exec cygpath \
                                        --windows \
                                        --absolute \
-                                       /bin/sh]
+                                       /bin/sh.exe]
                                set me [exec cygpath \
                                        --unix \
                                        --absolute \