Changeset 40550


Ignore:
Timestamp:
Oct 6, 2008, 8:34:21 PM (12 years ago)
Author:
jmr@…
Message:

bnetd: remove use of cd

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/net/bnetd/Portfile

    r30239 r40550  
    3030destroot.destdir        prefix=${destroot}${prefix}
    3131post-destroot   {
    32         cd ${destroot}${prefix}/var/bnetd
    33         xinstall -m 755 -d  users reports chanlogs charinfo charsave \
    34                 ladders bak/charsave bak/charinfo
     32        set vardir ${destroot}${prefix}/var/bnetd
    3533        foreach file {users reports chanlogs charinfo charsave ladders bak/charsave bak/charinfo} {
    36                 destroot.keepdirs-append ${destroot}${prefix}/var/bnetd/${file}
     34                xinstall -m 755 -d ${vardir}/${file}
     35                destroot.keepdirs-append ${vardir}/${file}
    3736        }
    3837        reinplace "s|${destroot}${prefix}|${prefix}|g" \
Note: See TracChangeset for help on using the changeset viewer.