Skip to content

Commit

Permalink
git-gui: Use sh.exe in Cygwin shortcuts
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Shawn O. Pearce committed Jul 10, 2007
1 parent 5922446 commit 6a5955f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/shortcut.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 6a5955f

Please sign in to comment.