Changeset 42665


Ignore:
Timestamp:
Nov 29, 2008, 12:06:34 AM (12 years ago)
Author:
jmr@…
Message:

Preserve attributes on sources.conf when upgrading.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/upgrade_sources_conf_default.tcl

    r42662 r42665  
    6161
    6262if {$defaultWritten} {
     63   set attributes [file attributes ${sourcesConf}]
    6364   file rename ${sourcesConf} "${sourcesConf}.mpsaved"
    6465   file rename ${tempfile} ${sourcesConf}
     66   eval file attributes ${sourcesConf} $attributes
    6567}
    6668exit 0
Note: See TracChangeset for help on using the changeset viewer.