diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-11-22 17:07:03 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-11-22 17:07:03 (GMT) |
commit | e8fb7d316cdd838a4bd4658932ec3a567eb20e50 (patch) | |
tree | ede464725f08f61d3a9f02c9fb0f4dd58b1e211f /win/Makefile.in | |
parent | 827d1a2f9c38c69cc63f1d4734d916d0e9885498 (diff) | |
parent | 7c0ca69d2510691fb2f0644a3146e9d9d2d90d0a (diff) | |
download | tk-e8fb7d316cdd838a4bd4658932ec3a567eb20e50.zip tk-e8fb7d316cdd838a4bd4658932ec3a567eb20e50.tar.gz tk-e8fb7d316cdd838a4bd4658932ec3a567eb20e50.tar.bz2 |
[Bug 1945073]: Demo square.tcl cannot run; need package tktest
Diffstat (limited to 'win/Makefile.in')
-rw-r--r-- | win/Makefile.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/win/Makefile.in b/win/Makefile.in index 851566d..5f9fd46 100644 --- a/win/Makefile.in +++ b/win/Makefile.in @@ -556,13 +556,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/*; \ |