diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2011-11-22 17:07:03 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2011-11-22 17:07:03 (GMT) |
commit | 14c1e5a7f8cd3561973137f9db0fdd8c6f04d09d (patch) | |
tree | ede464725f08f61d3a9f02c9fb0f4dd58b1e211f /win | |
parent | 31c3e130f9a6d96cbe9512df52dceb732f5e7317 (diff) | |
parent | af8629dba394f92fa3cc3428c601f7e4cea949be (diff) | |
download | tk-14c1e5a7f8cd3561973137f9db0fdd8c6f04d09d.zip tk-14c1e5a7f8cd3561973137f9db0fdd8c6f04d09d.tar.gz tk-14c1e5a7f8cd3561973137f9db0fdd8c6f04d09d.tar.bz2 |
[Bug 1945073]: Demo square.tcl cannot run; need package tktest
FossilOrigin-Name: 8ef7384bc924a7b400e0b9fd11484fecb6b7f886
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 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/*; \ |