[48769] trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl
mcalhoun at macports.org
mcalhoun at macports.org
Sat Mar 28 09:52:10 PDT 2009
Revision: 48769
http://trac.macports.org/changeset/48769
Author: mcalhoun at macports.org
Date: 2009-03-28 09:52:09 -0700 (Sat, 28 Mar 2009)
Log Message:
-----------
muniversal-1.0.tcl: Fix bad values of test.dir.
Modified Paths:
--------------
trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl
Modified: trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl 2009-03-28 16:43:55 UTC (rev 48768)
+++ trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl 2009-03-28 16:52:09 UTC (rev 48769)
@@ -466,7 +466,7 @@
# PowerPC systems can't translate Intel instructions
if { (${os.arch}=="i386" && ${arch}!="ppc64") || (${os.arch}=="powerpc" && ${arch}!="i386" && ${arch}!="x86_64") } {
ui_msg "$UI_PREFIX [format [msgcat::mc "Testing %1\$s for architecture %2\$s"] [option portname] ${arch}]"
- set test_dir_save ${destroot.dir}
+ set test_dir_save ${test.dir}
if { [string match "${worksrcpath}/*" ${test.dir}] } {
# The test directory is inside the source directory, so put in the new source directory name.
eval test.dir [string map "${worksrcpath} ${worksrcpath}-${arch}" ${test.dir}]
@@ -474,10 +474,11 @@
# The test directory is outside the source directory, so give it a new name by appending ${arch}.
test.dir ${test.dir}-${arch}
if { ![file exists ${test.dir}] } {
- file mkdir ${destroot.dir}
+ file mkdir ${test.dir}
}
}
test_main
+ test.dir ${test_dir_save}
}
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090328/48ac160f/attachment.html>
More information about the macports-changes
mailing list