Ignore:
Timestamp:
Nov 11, 2002, 3:32:01 AM (18 years ago)
Author:
landonf (Landon Fuller)
Message:

Fix the call to mtree at build time

File:
1 edited

Legend:

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

    r1205 r1225  
    4040
    4141# define options
    42 options build.target.install no_mtree mtree.file
     42options build.target.install
    4343
    4444# Set defaults
    4545default build.target.install install
    46 default mtree.file /etc/ports/prefix.mtree
    4746
    4847set UI_PREFIX "---> "
     
    5554
    5655proc install_main {args} {
    57     global portname portversion portpath categories description depends_run contents workdir worksrcdir prefix build.type build.cmd build.target.install UI_PREFIX build.target.current no_mtree mtree.file
    58 
    59     # At some point this may popular $destdir instead
    60     if {![tbool no_mtree] && [file exists ${mtree.file}]} {
    61         system "mtree -U -f ${mtree.file} -d -e -p $prefix > /dev/null"
    62     }
     56    global portname portversion portpath categories description depends_run contents workdir worksrcdir prefix build.type build.cmd build.target.install UI_PREFIX build.target.current
    6357
    6458    set build.target.current ${build.target.install}
Note: See TracChangeset for help on using the changeset viewer.