diff options
-rw-r--r-- | pym/portage/_legacy_globals.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/_legacy_globals.py b/pym/portage/_legacy_globals.py index 69484a96b..baabcc2e6 100644 --- a/pym/portage/_legacy_globals.py +++ b/pym/portage/_legacy_globals.py @@ -28,7 +28,7 @@ def _get_legacy_global(name): kwargs = {} for k, envvar in (("config_root", "PORTAGE_CONFIGROOT"), ("target_root", "ROOT")): - kwargs[k] = os.environ.get(envvar, "/") + kwargs[k] = os.environ.get(envvar) portage._initializing_globals = True portage.db = portage.create_trees(**kwargs) |