summaryrefslogtreecommitdiffstats
path: root/ds9/library/util.tcl
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2017-02-04 21:00:02 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2017-02-04 21:00:02 (GMT)
commit2cb0c75340917d0ede949c13f8c154a4bcebe6dc (patch)
treeb1e6b9a52106d7b690aa4edf733001b5c534658d /ds9/library/util.tcl
parent1665c12d60e699d3c3785d05d5068819f5651a05 (diff)
downloadblt-2cb0c75340917d0ede949c13f8c154a4bcebe6dc.zip
blt-2cb0c75340917d0ede949c13f8c154a4bcebe6dc.tar.gz
blt-2cb0c75340917d0ede949c13f8c154a4bcebe6dc.tar.bz2
fix win fits bin filtering
Diffstat (limited to 'ds9/library/util.tcl')
-rw-r--r--ds9/library/util.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/ds9/library/util.tcl b/ds9/library/util.tcl
index b52b81b..7bcb223 100644
--- a/ds9/library/util.tcl
+++ b/ds9/library/util.tcl
@@ -443,7 +443,7 @@ proc InitFilterCompiler {} {
}
}
win32 {
- set tcc [file join [file dirname $argv0] ../tcc/tcc.exe]
+ set tcc [file join $ds9(root) tcc/tcc.exe]
if {[file exists $tcc]} {
set env(FILTER_KEEP) 1
set env(FILTER_CC) [file nativename [file attributes [file normalize $tcc] -shortname]]