Changeset 98281


Ignore:
Timestamp:
Oct 1, 2012, 7:29:02 PM (12 years ago)
Author:
jmr@…
Message:

allow pkg target to write to package.destpath

File:
1 edited

Legend:

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

    r98279 r98281  
    4242# sandbox-exec -p '(version 1) (allow default) (deny file-write*) (allow file-write* <filter>)' some-command
    4343proc portsandbox::set_profile {target} {
    44     global os.major portsandbox_profile workpath distpath altprefix
     44    global os.major portsandbox_profile workpath distpath altprefix package.destpath
    4545
    4646    switch $target {
     
    6161            set allow_dirs [list $distpath]
    6262        }
     63        pkg {
     64            set allow_dirs [list ${package.destpath}]
     65        }
    6366    }
    6467
Note: See TracChangeset for help on using the changeset viewer.