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 aa083dc47f5b9844fa4c4d6b7d6b60b98240082a..f1ea4e1e432010f9a049fe91b305d09f44589280 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