From ddb4eccb75af9838b22436fa4ce71a38e9d24591 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 25 Jul 2007 08:07:20 +0000 Subject: CACHE_PATH starts with / and therefore isn't compatible with os.path.join(). svn path=/main/trunk/; revision=7392 --- pym/portage/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(): -- cgit v1.2.3-1-g7c22