Use "$@" rather than "${1+$@}" when invoking wish.
Paul Mackerras committed
Sep 27, 2005 at 10:29 UTC
9e026d3967776a1c1206890492ffc9d172bf1e9b
1 file changed
+1
-1
gitk
+1
-1
@@ -1,6 +1,6 @@
1
#!/bin/sh
2
# Tcl ignores the next line -*- tcl -*- \
3
-exec wish "$0" -- "${1+$@}"
3
+exec wish "$0" -- "$@"
4
5
# Copyright (C) 2005 Paul Mackerras. All rights reserved.
6
# This program is free software; it may be used, copied, modified