summaryrefslogtreecommitdiffstats
path: root/ds9/library/util.tcl
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 /ds9/library/util.tcl
parentb7ea9be84e1a1d58db919d8f63e00d00b283d949 (diff)
downloadblt-1665c12d60e699d3c3785d05d5068819f5651a05.zip
blt-1665c12d60e699d3c3785d05d5068819f5651a05.tar.gz
blt-1665c12d60e699d3c3785d05d5068819f5651a05.tar.bz2
fix win fits bin filtering
Diffstat (limited to 'ds9/library/util.tcl')
-rw-r--r--ds9/library/util.tcl3
1 files changed, 2 insertions, 1 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]]
}