[23248] trunk/base/src/port1.0/portutil.tcl

source_changes at macosforge.org source_changes at macosforge.org
Tue Mar 27 18:16:38 PDT 2007


Revision: 23248
          http://trac.macosforge.org/projects/macports/changeset/23248
Author:   pguyot at kallisys.net
Date:     2007-03-27 18:16:38 -0700 (Tue, 27 Mar 2007)

Log Message:
-----------
Fixed a bug where the environment wouldn't be properly saved.

Modified Paths:
--------------
    trunk/base/src/port1.0/portutil.tcl

Modified: trunk/base/src/port1.0/portutil.tcl
===================================================================
--- trunk/base/src/port1.0/portutil.tcl	2007-03-28 00:58:20 UTC (rev 23247)
+++ trunk/base/src/port1.0/portutil.tcl	2007-03-28 01:16:38 UTC (rev 23248)
@@ -273,7 +273,7 @@
 	# Call this command.
 	# TODO: move that to the system native call?
 	# Save the environment.
-	set saved_env [array get env]
+	array set saved_env [array get env]
 	# Set the overriden variables from the portfile.
 	array set env [array get ${command}.env_array]
 	# Call the command.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070327/0ff35f61/attachment.html


More information about the macports-changes mailing list