Changeset 146737 for trunk/base


Ignore:
Timestamp:
Mar 16, 2016, 2:38:38 PM (4 years ago)
Author:
jmr@…
Message:

append to main.log instead of truncating each time it is opened (it will still be removed when cleaning)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/macports1.0/macports.tcl

    r146733 r146737  
    155155    set ::debuglogname $logname
    156156
    157     # Truncate the file if already exists
    158     set ::debuglog [open $::debuglogname w]
     157    # Append to the file if it already exists
     158    set ::debuglog [open $::debuglogname a]
    159159    puts $::debuglog version:1
    160160}
Note: See TracChangeset for help on using the changeset viewer.