Skip to content

Commit

Permalink
Switch from destroot to destdir.
Browse files Browse the repository at this point in the history
Reversing the destroot change I proposed earlier. Sorry Kevin

git-svn-id: https://svn.macports.org/repository/macports/trunk/base@1231 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
landonf committed Nov 12, 2002
1 parent 8de099e commit a5dd9d9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/port1.0/portinstall.tcl
Expand Up @@ -47,12 +47,12 @@ default build.target.install install
set UI_PREFIX "---> "

proc install_start {args} {
global UI_PREFIX portname build.target.install destroot
global UI_PREFIX portname build.target.install destdir

ui_msg "$UI_PREFIX Installing ${portname} into ${destroot} with target ${build.target.install}"
ui_msg "$UI_PREFIX Installing ${portname} into ${destdir} with target ${build.target.install}"

file mkdir ${destroot}
system "mtree -U -f /etc/ports/prefix.mtree -d -e -p ${destroot} > /dev/null"
file mkdir ${destdir}
system "mtree -U -f /etc/ports/prefix.mtree -d -e -p ${destdir} > /dev/null"
}

proc install_main {args} {
Expand Down
2 changes: 1 addition & 1 deletion src/port1.0/portmain.tcl
Expand Up @@ -53,7 +53,7 @@ default distpath {[file join $portdbpath distfiles]}
default workdir work
default workpath {[file join $portpath $workdir]}
default prefix /opt/local
default destroot {${workpath}/destroot}
default destdir {${workpath}/destdir}
default filedir files
default revision 0
default distname {${portname}-${portversion}}
Expand Down

0 comments on commit a5dd9d9

Please sign in to comment.