From: Zac Medico Date: Sat, 7 Jun 2008 22:51:16 +0000 (-0000) Subject: Validate ROOT from make.conf. X-Git-Tag: v2.2_pre8~14 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b95f51a5f9db66097e5826a12bd54c78f9c15204;p=portage.git Validate ROOT from make.conf. svn path=/main/trunk/; revision=10596 --- diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 9c9fbc099..f4e246c9e 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -1279,6 +1279,8 @@ class config(object): # 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 = "/"