diff options
author | Marius Mauch <genone@gentoo.org> | 2007-01-25 21:53:25 +0000 |
---|---|---|
committer | Marius Mauch <genone@gentoo.org> | 2007-01-25 21:53:25 +0000 |
commit | 185427b2a43884acb83085738dde44ed245bee15 (patch) | |
tree | 3a97aa5c012a479e4c3deaf7dc0080cae1b7a2f0 | |
parent | bfdf7ae577305f30e35776e137bca1a23ed01977 (diff) | |
download | portage-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
-rw-r--r-- | pym/portage/const.py | 2 |
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" |