summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 28830b6b4..c5f05e0fb 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -1210,6 +1210,7 @@ class config(object):
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(