summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-11-22 17:07:03 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-11-22 17:07:03 (GMT)
commite8fb7d316cdd838a4bd4658932ec3a567eb20e50 (patch)
treeede464725f08f61d3a9f02c9fb0f4dd58b1e211f /library
parent827d1a2f9c38c69cc63f1d4734d916d0e9885498 (diff)
parent7c0ca69d2510691fb2f0644a3146e9d9d2d90d0a (diff)
downloadtk-e8fb7d316cdd838a4bd4658932ec3a567eb20e50.zip
tk-e8fb7d316cdd838a4bd4658932ec3a567eb20e50.tar.gz
tk-e8fb7d316cdd838a4bd4658932ec3a567eb20e50.tar.bz2
[Bug 1945073]: Demo square.tcl cannot run; need package tktest
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 c8ccd37..d10b8d5 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 1be4b56..51886de 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 b7dd78f..08c362b 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 bd20f7b..6e50c61 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 694227f..e10b840 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 7dd8ab3..d58f086 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, along with many