Use "$@" rather than "${1+$@}" when invoking wish.
authorPaul Mackerras <paulus@samba.org>
Tue, 27 Sep 2005 00:29:41 +0000 (10:29 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 27 Sep 2005 00:29:41 +0000 (10:29 +1000)
gitk

diff --git a/gitk b/gitk
index aa083dc..f1ea4e1 100755 (executable)
--- a/gitk
+++ b/gitk
@@ -1,6 +1,6 @@
 #!/bin/sh
 # Tcl ignores the next line -*- tcl -*- \
-exec wish "$0" -- "${1+$@}"
+exec wish "$0" -- "$@"
 
 # Copyright (C) 2005 Paul Mackerras.  All rights reserved.
 # This program is free software; it may be used, copied, modified