From 5922446794ee1bfcd4bede739467211cd46aa005 Mon Sep 17 00:00:00 2001 From: "Shawn O. Pearce" Date: Mon, 9 Jul 2007 11:01:02 -0400 Subject: [PATCH] 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 --- lib/shortcut.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/shortcut.tcl b/lib/shortcut.tcl index 64ced9d801..7086162476 100644 --- a/lib/shortcut.tcl +++ b/lib/shortcut.tcl @@ -66,7 +66,7 @@ proc do_cygwin_shortcut {} { puts $fd "@ECHO Entering [reponame]" puts $fd "@ECHO Starting git-gui... please wait..." puts -nonewline $fd "@\"$sh\" --login -c \"" - puts -nonewline $fd "GIT_DIR=[sq [$gd]]" + puts -nonewline $fd "GIT_DIR=[sq $gd]" puts -nonewline $fd " [sq $me]" puts $fd "&\"" close $fd -- 2.11.4.GIT