summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2011-11-22 17:12:34 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2011-11-22 17:12:34 (GMT)
commit81229ad191052bb4380058ff4bd0b869d25e155d (patch)
tree2247e8f011b29f80da9266242f19309a2f0fe6bb /win
parent1200047a3f4293e177b2edd777f8b40ca62f81f3 (diff)
parent14c1e5a7f8cd3561973137f9db0fdd8c6f04d09d (diff)
downloadtk-81229ad191052bb4380058ff4bd0b869d25e155d.zip
tk-81229ad191052bb4380058ff4bd0b869d25e155d.tar.gz
tk-81229ad191052bb4380058ff4bd0b869d25e155d.tar.bz2
[Bug 1945073]: Demo square.tcl cannot run; need package tktest
FossilOrigin-Name: 174503e2bd21a2da2fb6f1baab1af00df7273ffe
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 cc50160..431b5cc 100644
--- a/win/Makefile.in
+++ b/win/Makefile.in
@@ -553,13 +553,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/*; \