[105065] users/cal/base-rewrite/src/macports2.0/macports.tcl

cal at macports.org cal at macports.org
Mon Apr 8 15:02:14 PDT 2013


Revision: 105065
          https://trac.macports.org/changeset/105065
Author:   cal at macports.org
Date:     2013-04-08 15:02:13 -0700 (Mon, 08 Apr 2013)
Log Message:
-----------
macports.tcl: remove unused variable, move separate init steps to private::init

Modified Paths:
--------------
    users/cal/base-rewrite/src/macports2.0/macports.tcl

Modified: users/cal/base-rewrite/src/macports2.0/macports.tcl
===================================================================
--- users/cal/base-rewrite/src/macports2.0/macports.tcl	2013-04-08 20:38:28 UTC (rev 105064)
+++ users/cal/base-rewrite/src/macports2.0/macports.tcl	2013-04-08 22:02:13 UTC (rev 105065)
@@ -96,11 +96,6 @@
     variable macosx_version [private::get_macosx_version]
 
     ##
-    # The home directory of the user executing MacPorts, or a non-existant
-    # directory, if the executing user could not be determined.
-    variable user_home
-
-    ##
     # Initializes MacPorts and sets all required internal variables.
     #
     # \warning
@@ -111,16 +106,11 @@
         # set the system encoding to utf-8
         encoding system utf-8
 
-        # initialize private data structures
+        # initialize private data structures and variables. This for example
+        # includes
+        #  - setting some environment variables and preferences
+        #  - reading the configuration files
         private::init
-
-        # Ensure that the macports user directory (i.e. ~/.macports) exists, if
-        # $HOME is defined. Also save $HOME for later use before replacing it
-        # with a custom home directory.
-        private::init_home
-
-        # Load configuration from files
-        private::init_configuration
     }
 
     ##
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130408/23d792eb/attachment.html>


More information about the macports-changes mailing list