From 368862a96eb14b285352b9ab936a1b7adabfd740 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Sat, 5 Sep 2009 13:33:29 +0000 Subject: [PATCH] DEPCACHE_PATH is not used with ROOT at all, so move it out of the target_root variable group svn path=/main/trunk/; revision=14199 --- pym/portage/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/const.py b/pym/portage/const.py index e0c34e494..8b36aac14 100644 --- a/pym/portage/const.py +++ b/pym/portage/const.py @@ -45,7 +45,6 @@ DEPRECATED_PROFILE_FILE = PROFILE_PATH + "/deprecated" # have a leading '/' since they are used directly with os.path.join) VDB_PATH = "var/db/pkg" CACHE_PATH = "var/cache/edb" -DEPCACHE_PATH = CACHE_PATH + "/dep" # FIXME: does not seem to use ROOT when used PRIVATE_PATH = "var/lib/portage" WORLD_FILE = PRIVATE_PATH + "/world" WORLD_SETS_FILE = PRIVATE_PATH + "/world_sets" @@ -53,6 +52,7 @@ CONFIG_MEMORY_FILE = PRIVATE_PATH + "/config" NEWS_LIB_PATH = "var/lib/gentoo" # these variables are not used with target_root or config_root +DEPCACHE_PATH = "/var/cache/edb/dep" GLOBAL_CONFIG_PATH = "/usr/share/portage/config" PORTAGE_BASE_PATH = os.path.join(os.sep, os.sep.join(__file__.split(os.sep)[:-3])) PORTAGE_BIN_PATH = PORTAGE_BASE_PATH + "/bin" -- 2.26.2