From: Zac Medico Date: Wed, 25 Jul 2007 08:07:20 +0000 (-0000) Subject: CACHE_PATH starts with / and therefore isn't compatible with os.path.join(). X-Git-Tag: v2.2_pre1~941 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ddb4eccb75af9838b22436fa4ce71a38e9d24591;p=portage.git CACHE_PATH starts with / and therefore isn't compatible with os.path.join(). svn path=/main/trunk/; revision=7392 --- diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 1fb8bb92f..d7af652c6 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -1500,7 +1500,7 @@ class config(object): "tmp" : (-1, 01777, 0), "var/tmp" : (-1, 01777, 0), PRIVATE_PATH : (portage_gid, 02750, 02), - CACHE_PATH : (portage_gid, 0755, 02) + CACHE_PATH.lstrip(os.path.sep) : (portage_gid, 0755, 02) } for mypath, (gid, mode, modemask) in dir_mode_map.iteritems():