summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/portage.py b/pym/portage.py
index fcb50d430..08bb6d4ec 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -1291,6 +1291,7 @@ class config:
target_root = normalize_path(os.path.abspath(
target_root)).rstrip(os.path.sep) + os.path.sep
+ portage_util.ensure_dirs(target_root)
check_var_directory("ROOT", target_root)
env_d = getconfig(