summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-11-22 16:53:14 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-11-22 16:53:14 (GMT)
commit7c0ca69d2510691fb2f0644a3146e9d9d2d90d0a (patch)
treef9c2a49d5f99d7bdccf87da7686931a2bd21c71f /win
parent6628f106b262828e656b741087da141dea6a58eb (diff)
downloadtk-7c0ca69d2510691fb2f0644a3146e9d9d2d90d0a.zip
tk-7c0ca69d2510691fb2f0644a3146e9d9d2d90d0a.tar.gz
tk-7c0ca69d2510691fb2f0644a3146e9d9d2d90d0a.tar.bz2
[Bug 1945073]: Demo square.tcl cannot run; need package tktest
Diffstat (limited to 'win')
-rw-r--r--win/Makefile.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/win/Makefile.in b/win/Makefile.in
index 71e04e9..9304b43 100644
--- a/win/Makefile.in
+++ b/win/Makefile.in
@@ -500,13 +500,17 @@ install-demos:
@for i in $(ROOT_DIR)/library/demos/*; \
do \
if [ -f $$i ] ; then \
- sed -e '3 s|exec $(WISH)|exec $(WISH)|' \
+ sed -e '3 s|exec wish|exec wish$(VER)|' \
$$i > $(SCRIPT_INSTALL_DIR)/demos/`basename $$i`; \
fi; \
done;
@for i in $(DEMOPROGS); \
do \
+ if test $$i = "square"; then \
+ rm -f $(SCRIPT_INSTALL_DIR)/demos/$$i; \
+ else \
chmod 755 $(SCRIPT_INSTALL_DIR)/demos/$$i; \
+ fi; \
done;
@echo "Installing demo images";
@for i in $(ROOT_DIR)/library/demos/images/*; \