Skip to content
Permalink
Browse files

bnetd: remove use of cd

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@40550 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
jmroot committed Oct 6, 2008
1 parent 21f71dd commit 9c5dc5ca655c0aa56218a390f738e77be4b11212
Showing with 3 additions and 4 deletions.
  1. +3 −4 net/bnetd/Portfile
@@ -29,11 +29,10 @@ pre-destroot {
}
destroot.destdir prefix=${destroot}${prefix}
post-destroot {
cd ${destroot}${prefix}/var/bnetd
xinstall -m 755 -d users reports chanlogs charinfo charsave \
ladders bak/charsave bak/charinfo
set vardir ${destroot}${prefix}/var/bnetd
foreach file {users reports chanlogs charinfo charsave ladders bak/charsave bak/charinfo} {
destroot.keepdirs-append ${destroot}${prefix}/var/bnetd/${file}
xinstall -m 755 -d ${vardir}/${file}
destroot.keepdirs-append ${vardir}/${file}
}
reinplace "s|${destroot}${prefix}|${prefix}|g" \
${destroot}${prefix}/etc/bnetd/bnetd.conf \

0 comments on commit 9c5dc5c

Please sign in to comment.
You can’t perform that action at this time.