summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2011-11-22 16:53:14 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2011-11-22 16:53:14 (GMT)
commitaf8629dba394f92fa3cc3428c601f7e4cea949be (patch)
treef9c2a49d5f99d7bdccf87da7686931a2bd21c71f /library
parent46e7661baecbcb279babd220b886da7da00ebfdb (diff)
downloadtk-af8629dba394f92fa3cc3428c601f7e4cea949be.zip
tk-af8629dba394f92fa3cc3428c601f7e4cea949be.tar.gz
tk-af8629dba394f92fa3cc3428c601f7e4cea949be.tar.bz2
[Bug 1945073]: Demo square.tcl cannot run; need package tktest
FossilOrigin-Name: 43a8cf526d404a639cf316736be75e4bfbea4c59
Diffstat (limited to 'library')
-rw-r--r--library/demos/hello2
-rw-r--r--library/demos/rmt2
-rw-r--r--library/demos/square2
-rw-r--r--library/demos/tcolor2
-rw-r--r--library/demos/timer2
-rw-r--r--library/demos/widget2
6 files changed, 6 insertions, 6 deletions
diff --git a/library/demos/hello b/library/demos/hello
index 42aef2d..b9823f6 100644
--- a/library/demos/hello
+++ b/library/demos/hello
@@ -1,6 +1,6 @@
#!/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".
diff --git a/library/demos/rmt b/library/demos/rmt
index 3484744..423c4a6 100644
--- a/library/demos/rmt
+++ b/library/demos/rmt
@@ -1,6 +1,6 @@
#!/bin/sh
# the next line restarts using wish \
-exec wish "$0" "$@"
+exec wish "$0" ${1+"$@"}
# rmt --
# This script implements a simple remote-control mechanism for
diff --git a/library/demos/square b/library/demos/square
index 5b5ca24..ca7b42a 100644
--- a/library/demos/square
+++ b/library/demos/square
@@ -1,6 +1,6 @@
#!/bin/sh
# the next line restarts using wish \
-exec wish "$0" "$@"
+exec wish "$0" ${1+"$@"}
# square --
# This script generates a demo application containing only a "square"
diff --git a/library/demos/tcolor b/library/demos/tcolor
index d5fa233..4dd61bb 100644
--- a/library/demos/tcolor
+++ b/library/demos/tcolor
@@ -1,6 +1,6 @@
#!/bin/sh
# the next line restarts using wish \
-exec wish "$0" "$@"
+exec wish "$0" ${1+"$@"}
# tcolor --
# This script implements a simple color editor, where you can
diff --git a/library/demos/timer b/library/demos/timer
index cfa3651..320cd0e 100644
--- a/library/demos/timer
+++ b/library/demos/timer
@@ -1,6 +1,6 @@
#!/bin/sh
# the next line restarts using wish \
-exec wish "$0" "$@"
+exec wish "$0" ${1+"$@"}
# timer --
# This script generates a counter with start and stop buttons.
diff --git a/library/demos/widget b/library/demos/widget
index f99760e..d4ec511 100644
--- a/library/demos/widget
+++ b/library/demos/widget
@@ -1,6 +1,6 @@
#!/bin/sh
# the next line restarts using wish \
-exec wish "$0" "$@"
+exec wish "$0" ${1+"$@"}
# widget --
# This script demonstrates the various widgets provided by Tk,