Changeset 76482


Ignore:
Timestamp:
Feb 25, 2011, 8:20:25 AM (9 years ago)
Author:
blb@…
Message:

portutil.tcl - need to note the original file's attributes prior to the
chownAsRoot call during reinplace; otherwise, files reinplace'd during destroot
get changed to $macportsuser when running port as root

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/port1.0/portutil.tcl

    r73227 r76482  
    924924        close $tmpfd
    925925
     926        set attributes [file attributes $file]
    926927        # start gsoc08-privileges
    927928        chownAsRoot $file
    928929        # end gsoc08-privileges
    929930
    930         set attributes [file attributes $file]
    931931        # We need to overwrite this file
    932932        if {[catch {file attributes $file -permissions u+w} error]} {
Note: See TracChangeset for help on using the changeset viewer.