[111310] branches/gsoc13-tests/src

cal at macports.org cal at macports.org
Wed Sep 18 13:37:39 PDT 2013


Revision: 111310
          https://trac.macports.org/changeset/111310
Author:   cal at macports.org
Date:     2013-09-18 13:37:39 -0700 (Wed, 18 Sep 2013)
Log Message:
-----------
{package,port}1.0/tests/library.tcl: correctly set variables that originally are in the macports namespace

Modified Paths:
--------------
    branches/gsoc13-tests/src/package1.0/tests/library.tcl
    branches/gsoc13-tests/src/port1.0/tests/library.tcl

Modified: branches/gsoc13-tests/src/package1.0/tests/library.tcl
===================================================================
--- branches/gsoc13-tests/src/package1.0/tests/library.tcl	2013-09-18 20:36:04 UTC (rev 111309)
+++ branches/gsoc13-tests/src/package1.0/tests/library.tcl	2013-09-18 20:37:39 UTC (rev 111310)
@@ -93,6 +93,7 @@
     foreach opt $macports::portinterp_options {
         if {![info exists $opt]} {
             global macports::$opt
+            set ::$opt macports::$opt
         }
         if {[info exists $opt]} {
             set system_options($opt) $opt
@@ -100,6 +101,6 @@
         }
     }
 
-	# We don't need to handle portinterp_deferred_options, they're
-	# automatically handled correctly.
+    # We don't need to handle portinterp_deferred_options, they're
+    # automatically handled correctly.
 }

Modified: branches/gsoc13-tests/src/port1.0/tests/library.tcl
===================================================================
--- branches/gsoc13-tests/src/port1.0/tests/library.tcl	2013-09-18 20:36:04 UTC (rev 111309)
+++ branches/gsoc13-tests/src/port1.0/tests/library.tcl	2013-09-18 20:37:39 UTC (rev 111310)
@@ -60,6 +60,7 @@
     foreach opt $macports::portinterp_options {
         if {![info exists $opt]} {
             global macports::$opt
+            set ::$opt macports::$opt
         }
         if {[info exists $opt]} {
             set system_options($opt) $opt
@@ -67,6 +68,6 @@
         }
     }
 
-	# We don't need to handle portinterp_deferred_options, they're
-	# automatically handled correctly.
+    # We don't need to handle portinterp_deferred_options, they're
+    # automatically handled correctly.
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130918/c38a062a/attachment-0001.html>


More information about the macports-changes mailing list