diff options
-rw-r--r-- | pym/portage/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 31b322308..8dbc3bbe7 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -927,7 +927,7 @@ class config: config_root = "/" config_root = \ - normalize_path(config_root).rstrip(os.path.sep) + os.path.sep + normalize_path(os.path.abspath(config_root)) + os.path.sep check_var_directory("PORTAGE_CONFIGROOT", config_root) @@ -1179,7 +1179,7 @@ class config: target_root = "/" target_root = \ - normalize_path(target_root).rstrip(os.path.sep) + os.path.sep + normalize_path(os.path.abspath(target_root)) + os.path.sep check_var_directory("ROOT", target_root) |