aboutsummaryrefslogtreecommitdiffstats
path: root/lib/shortcut.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/shortcut.tcl')
-rw-r--r--lib/shortcut.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/shortcut.tcl b/lib/shortcut.tcl
index d437ea6933..1d01d9cbfa 100644
--- a/lib/shortcut.tcl
+++ b/lib/shortcut.tcl
@@ -12,7 +12,7 @@ proc do_windows_shortcut {} {
set fn ${fn}.lnk
}
# Use git-gui.exe if available (ie: git-for-windows)
- set cmdLine [auto_execok git-gui.exe]
+ set cmdLine [list [_which git-gui]]
if {$cmdLine eq {}} {
set cmdLine [list [info nameofexecutable] \
[file normalize $::argv0]]