From: Zac Medico Date: Mon, 30 Jul 2007 07:51:26 +0000 (-0000) Subject: For bug #186960, try to create a directory for $ROOT if it doesn't exist. X-Git-Tag: v2.2_pre1~919 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ae7c864fbbc463f871af671bc80354d4c0d2ed02;p=portage.git For bug #186960, try to create a directory for $ROOT if it doesn't exist. svn path=/main/trunk/; revision=7516 --- 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(