For bug #186960, try to create a directory for $ROOT if it doesn't exist. (branches...
authorZac Medico <zmedico@gentoo.org>
Mon, 30 Jul 2007 07:53:56 +0000 (07:53 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 30 Jul 2007 07:53:56 +0000 (07:53 -0000)
svn path=/main/branches/2.1.2.9/; revision=7518

pym/portage.py

index fcb50d4309a1cf72a7be3792ae05a088134e80f7..08bb6d4ece559bf556132dfeafb9ade2cef9ce4f 100644 (file)
@@ -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(