summaryrefslogtreecommitdiffstats
path: root/library/demos/hello
diff options
context:
space:
mode:
Diffstat (limited to 'library/demos/hello')
-rw-r--r--library/demos/hello4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/demos/hello b/library/demos/hello
index 6461f46..7c47669 100644
--- a/library/demos/hello
+++ b/library/demos/hello
@@ -1,12 +1,12 @@
#!/bin/sh
# the next line restarts using wish \
-exec wish "$0" "$@"
+exec wish "$0" ${1+"$@"}
# hello --
# Simple Tk script to create a button that prints "Hello, world".
# Click on the button to terminate the program.
#
-# RCS: @(#) $Id: hello,v 1.4 2003/09/30 14:54:30 dkf Exp $
+# RCS: @(#) $Id: hello,v 1.5 2009/03/25 23:27:09 nijtmans Exp $
package require Tk