From 1665c12d60e699d3c3785d05d5068819f5651a05 Mon Sep 17 00:00:00 2001 From: William Joye Date: Sat, 4 Feb 2017 15:54:09 -0500 Subject: fix win fits bin filtering --- ds9/library/util.tcl | 3 ++- ds9/win/Makefile.in | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ds9/library/util.tcl b/ds9/library/util.tcl index c71ef83..b52b81b 100644 --- a/ds9/library/util.tcl +++ b/ds9/library/util.tcl @@ -443,8 +443,9 @@ proc InitFilterCompiler {} { } } win32 { - set tcc [file join [file dirname $argv0] tcc/tcc.exe] + set tcc [file join [file dirname $argv0] ../tcc/tcc.exe] if {[file exists $tcc]} { + set env(FILTER_KEEP) 1 set env(FILTER_CC) [file nativename [file attributes [file normalize $tcc] -shortname]] set env(FILTER_TMPDIR) [file nativename [file attributes [file normalize $ds9(tmpdir)] -shortname]] } diff --git a/ds9/win/Makefile.in b/ds9/win/Makefile.in index 82177a3..93c6986 100755 --- a/ds9/win/Makefile.in +++ b/ds9/win/Makefile.in @@ -192,7 +192,7 @@ $(APPDIR)/install.vbs: install.vbs $(APPDIR)/tcc: $(prefix)/compilers/tcc-0.9.25-win32-bin.zip $(RM) -rf $@ - cd $(bindir); unzip %? + cd $(APPDIR); unzip $? chmod +x $@/tcc.exe touch $@ -- cgit v0.12