git-gui: Paper bag fix for Cygwin shortcut creation
[gitweb.git] / lib / shortcut.tcl
index 64ced9d801d879a7c8bde1340834b7296dff82a2..7086162476089f31368caf3b303ef03153f8a125 100644 (file)
@@ -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