diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-11-22 16:53:14 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-11-22 16:53:14 (GMT) |
commit | 7c0ca69d2510691fb2f0644a3146e9d9d2d90d0a (patch) | |
tree | f9c2a49d5f99d7bdccf87da7686931a2bd21c71f /win | |
parent | 6628f106b262828e656b741087da141dea6a58eb (diff) | |
download | tk-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.in | 6 |
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/*; \ |