summaryrefslogtreecommitdiffstats
path: root/pym/portage/const.py
diff options
context:
space:
mode:
authorMarius Mauch <genone@gentoo.org>2007-01-25 21:53:25 +0000
committerMarius Mauch <genone@gentoo.org>2007-01-25 21:53:25 +0000
commit185427b2a43884acb83085738dde44ed245bee15 (patch)
tree3a97aa5c012a479e4c3deaf7dc0080cae1b7a2f0 /pym/portage/const.py
parentbfdf7ae577305f30e35776e137bca1a23ed01977 (diff)
downloadportage-185427b2a43884acb83085738dde44ed245bee15.tar.gz
portage-185427b2a43884acb83085738dde44ed245bee15.tar.bz2
portage-185427b2a43884acb83085738dde44ed245bee15.zip
Fix automatic path detection to account for new location
svn path=/main/trunk/; revision=5789
Diffstat (limited to 'pym/portage/const.py')
-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"