summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2017-02-04 20:54:09 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2017-02-04 20:54:09 (GMT)
commit1665c12d60e699d3c3785d05d5068819f5651a05 (patch)
treef50bfadf5c2d03fc9049b988710201ca9d45bd32
parentb7ea9be84e1a1d58db919d8f63e00d00b283d949 (diff)
downloadblt-1665c12d60e699d3c3785d05d5068819f5651a05.zip
blt-1665c12d60e699d3c3785d05d5068819f5651a05.tar.gz
blt-1665c12d60e699d3c3785d05d5068819f5651a05.tar.bz2
fix win fits bin filtering
-rw-r--r--ds9/library/util.tcl3
-rwxr-xr-xds9/win/Makefile.in2
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 $@