Skip to content
Browse files

Switch from destroot to destdir.

Reversing the destroot change I proposed earlier. Sorry Kevin

git-svn-id: d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
landonf committed Nov 12, 2002
1 parent 8de099e commit a5dd9d97d10ef6947e2656ee25ac2dc0b74e94b1
Showing with 5 additions and 5 deletions.
  1. +4 −4 src/port1.0/portinstall.tcl
  2. +1 −1 src/port1.0/portmain.tcl
@@ -47,12 +47,12 @@ default install
set UI_PREFIX "---> "

proc install_start {args} {
global UI_PREFIX portname destroot
global UI_PREFIX portname destdir

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

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} {
@@ -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}}

0 comments on commit a5dd9d9

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