[39017] trunk/base/src/port/port.tcl

afb at macports.org afb at macports.org
Wed Aug 6 00:46:08 PDT 2008


Revision: 39017
          http://trac.macosforge.org/projects/macports/changeset/39017
Author:   afb at macports.org
Date:     2008-08-06 00:46:08 -0700 (Wed, 06 Aug 2008)
Log Message:
-----------
work around Leopard Tcl bugs (#16233)

Modified Paths:
--------------
    trunk/base/src/port/port.tcl

Modified: trunk/base/src/port/port.tcl
===================================================================
--- trunk/base/src/port/port.tcl	2008-08-06 07:42:34 UTC (rev 39016)
+++ trunk/base/src/port/port.tcl	2008-08-06 07:46:08 UTC (rev 39017)
@@ -2318,7 +2318,7 @@
                     # We need it to evaluate the editor, and the editor
                     # may want stuff from it as well, like TERM.
                     array unset env_save; array set env_save [array get env]
-                    array unset env *; array set env [array get boot_env]
+                    array unset env *; unsetenv *; array set env [array get boot_env]
                     
                     # Find an editor to edit the portfile
                     set editor ""
@@ -2344,7 +2344,7 @@
                     }
                     
                     # Restore internal MacPorts environment
-                    array unset env *; array set env [array get env_save]
+                    array unset env *; unsetenv *; array set env [array get env_save]
                 }
 
                 dir {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080806/7a97fde5/attachment.html 


More information about the macports-changes mailing list