git-gui: Paper bag fix for Cygwin shortcut creation
We cannot execute the git directory, it is not a valid Tcl command name. Instead we just want to pass it as an argument to our sq proc. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Shawn O. Pearce committed
Jul 9, 2007 at 11:01 UTC
5922446794ee1bfcd4bede739467211cd46aa005
1 file changed
+1
-1
lib/shortcut.tcl
+1
-1
@@ -66,7 +66,7 @@ proc do_cygwin_shortcut {} {
66
puts $fd "@ECHO Entering [reponame]"
67
puts $fd "@ECHO Starting git-gui... please wait..."
68
puts -nonewline $fd "@\"$sh\" --login -c \""
69
- puts -nonewline $fd "GIT_DIR=[sq [$gd]]"
69
+ puts -nonewline $fd "GIT_DIR=[sq $gd]"
70
puts -nonewline $fd " [sq $me]"
71
puts $fd "&\""
72
close $fd