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

pym/portage.py

index 31136b676c5168afae7593bfb0239462b8cc3343..379c60434eeba6a128536e683a44acdd9fdb8131 100644 (file)
@@ -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(