From: Marius Mauch Date: Thu, 25 Jan 2007 21:53:25 +0000 (-0000) Subject: Fix automatic path detection to account for new location X-Git-Tag: v2.2_pre1~1803 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=185427b2a43884acb83085738dde44ed245bee15;p=portage.git Fix automatic path detection to account for new location svn path=/main/trunk/; revision=5789 --- 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"