summaryrefslogtreecommitdiffstats
path: root/pym/portage.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-07-30 07:53:18 +0000
committerZac Medico <zmedico@gentoo.org>2007-07-30 07:53:18 +0000
commitcba646f87b2c76bb3d1ff6373a9df189cf31bb06 (patch)
tree83b0f8bba4ad3cbe9db995554ffc55b51a14846e /pym/portage.py
parent283a1c501bf4494a26f074891495100c7e914242 (diff)
downloadportage-cba646f87b2c76bb3d1ff6373a9df189cf31bb06.tar.gz
portage-cba646f87b2c76bb3d1ff6373a9df189cf31bb06.tar.bz2
portage-cba646f87b2c76bb3d1ff6373a9df189cf31bb06.zip
For bug #186960, try to create a directory for $ROOT if it doesn't exist. (trunk r7516)
svn path=/main/branches/2.1.2/; revision=7517
Diffstat (limited to 'pym/portage.py')
-rw-r--r--pym/portage.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 31136b676..379c60434 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -1321,6 +1321,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(