summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/const.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/const.py b/pym/portage/const.py
index e1af7cb44..fa1187fa7 100644
--- a/pym/portage/const.py
+++ b/pym/portage/const.py
@@ -20,7 +20,7 @@ MODULES_FILE_PATH = USER_CONFIG_PATH+"/modules"
CUSTOM_PROFILE_PATH = USER_CONFIG_PATH+"/profile"
#PORTAGE_BASE_PATH = "/usr/lib/portage"
-PORTAGE_BASE_PATH = os.path.join(os.sep, os.sep.join(__file__.split(os.sep)[:-2]))
+PORTAGE_BASE_PATH = os.path.join(os.sep, os.sep.join(__file__.split(os.sep)[:-3]))
PORTAGE_BIN_PATH = PORTAGE_BASE_PATH+"/bin"
PORTAGE_PYM_PATH = PORTAGE_BASE_PATH+"/pym"
NEWS_LIB_PATH = "/var/lib/gentoo"