From: Shawn O. Pearce Date: Mon, 9 Jul 2007 15:09:27 +0000 (-0400) Subject: git-gui: Use sh.exe in Cygwin shortcuts X-Git-Tag: v1.5.3-rc1~16^2~3 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6a5955fac3bd5a1369e73512b9606769f0c95e7c;p=git.git 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 --- diff --git a/lib/shortcut.tcl b/lib/shortcut.tcl index 708616247..26adb9982 100644 --- a/lib/shortcut.tcl +++ b/lib/shortcut.tcl @@ -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 \