Changeset 696 for trunk/expgui
- Timestamp:
- Dec 4, 2009 5:10:29 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expgui
- Property rcs:date changed from 2003/04/10 22:03:45 to 2003/05/22 21:40:38
- Property rcs:lines changed from +238 -25 to +10 -8
- Property rcs:rev changed from 1.60 to 1.61
r670 r696 152 152 #--------------------------------------------------------------------------- 153 153 # override options with locally defined values 154 set filelist [file join $expgui(scriptdir) localconfig] 155 if {$tcl_platform(platform) == "windows"} { 156 lappend filelist "c:/gsas.config" 157 } else { 158 lappend filelist [file join ~ .gsas_config] 159 } 154 160 if {[catch { 155 set filelist [list \156 [file join $expgui(scriptdir) localconfig] \157 [file join ~ .gsas_config] \158 [file join ~ gsas.config]]159 161 foreach file $filelist { 160 162 if [file exists $file] {source $file} … … 551 553 global expgui env tcl_platform graph peakinfo 552 554 if {$tcl_platform(platform) == "windows"} { 553 set fp [open [file join ~ gsas.config]a]555 set fp [open c:/gsas.config a] 554 556 } else { 555 557 set fp [open [file join ~ .gsas_config] a] 556 558 } 557 559 558 puts $fp "# saved options from [clock format [clock ticks]]"560 puts $fp "# EXPGUI saved options from [clock format [clock ticks]]" 559 561 foreach item {archive asorttype hsorttype filesort disaglSeparateBox \ 560 562 font autoexpload autoiconify autotick autoGRWND} {
Note: See TracChangeset
for help on using the changeset viewer.