From eb86b1a4cdac0528c2fb7ab5e9cfd20589e6d0a1 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Fri, 8 Jan 2010 12:09:23 +0000 Subject: [PATCH] make sure we don't run abspath on the empty string, such that we get the current working directory instead of / as we want, fixes problems with offset-less installations (EPREFIX='') svn path=/main/branches/prefix/; revision=15178 --- 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 5603e52ee..79ebc1f7a 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -1682,7 +1682,7 @@ class config(object): raise portage.exception.DirectoryNotFound(var) if config_root is None: - config_root = EPREFIX + config_root = EPREFIX + os.path.sep config_root = normalize_path(os.path.abspath( config_root)).rstrip(os.path.sep) + os.path.sep -- 2.26.2