From: Zac Medico Date: Sat, 7 Jun 2008 22:51:52 +0000 (-0000) Subject: Validate ROOT from make.conf. (trunk r10596) X-Git-Tag: v2.1.5.5~23 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=35f63ed00927d0915f6ba6e1ffe296baa7d7c7a5;p=portage.git Validate ROOT from make.conf. (trunk r10596) svn path=/main/branches/2.1.2/; revision=10597 --- diff --git a/pym/portage.py b/pym/portage.py index 533010055..f845fc12d 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -1438,6 +1438,8 @@ class config: # by the constructor argument (from the calling environment). if target_root is None and "ROOT" in make_conf: target_root = make_conf["ROOT"] + if not target_root.strip(): + target_root = None if target_root is None: target_root = "/"