Remove unused STARTDIR variable. (trunk r15051)
authorZac Medico <zmedico@gentoo.org>
Sun, 13 Dec 2009 03:54:16 +0000 (03:54 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 13 Dec 2009 03:54:16 +0000 (03:54 -0000)
svn path=/main/branches/2.1.7/; revision=15085

bin/isolated-functions.sh
pym/portage/__init__.py

index 61120705f90a916ce09358249201df2908ff875d..29432488901ff428c36690d1a094a3547e322a0c 100755 (executable)
@@ -569,7 +569,7 @@ save_ebuild_env() {
                        PROFILE_PATHS PWORKDIR QA_INTERCEPTORS \
                        RC_DEFAULT_INDENT RC_DOT_PATTERN RC_ENDCOL \
                        RC_INDENTATION READONLY_EBUILD_METADATA READONLY_PORTAGE_VARS \
-                       ROOT ROOTPATH RPMDIR STARTDIR TEMP TMP TMPDIR USE_EXPAND \
+                       ROOT ROOTPATH RPMDIR TEMP TMP TMPDIR USE_EXPAND \
                        WARN XARGS _RC_GET_KV_CACHE
 
                # user config variables
index 4a6f8fd85d9ab0ba274b29d5903d9c5c4a7074b9..356c56a74817367267d4aa1767975ec7e5712b51 100644 (file)
@@ -1418,7 +1418,7 @@ class config(object):
                "PORTAGE_TMPDIR", "PORTAGE_UPDATE_ENV",
                "PORTAGE_VERBOSE", "PORTAGE_WORKDIR_MODE",
                "PORTDIR", "PORTDIR_OVERLAY", "PREROOTPATH", "PROFILE_PATHS",
-               "ROOT", "ROOTPATH", "STARTDIR", "T", "TMP", "TMPDIR",
+               "ROOT", "ROOTPATH", "T", "TMP", "TMPDIR",
                "USE_EXPAND", "USE_ORDER", "WORKDIR",
                "XARGS",
        ]
@@ -6200,7 +6200,6 @@ def doebuild_environment(myebuild, mydo, myroot, mysettings, debug, use_cache, m
        mysettings["EROOT"]    = myroot
 
        mysettings["ROOT"]     = myroot
-       mysettings["STARTDIR"] = getcwd()
        mysettings["EBUILD"]   = ebuild_path
        mysettings["O"]        = pkg_dir
        mysettings.configdict["pkg"]["CATEGORY"] = cat