projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a3eb60
)
Validate ROOT from make.conf.
author
Zac Medico
<zmedico@gentoo.org>
Sat, 7 Jun 2008 22:51:16 +0000
(22:51 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 7 Jun 2008 22:51:16 +0000
(22:51 -0000)
svn path=/main/trunk/; revision=10596
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index 9c9fbc0995162e1a0a94a385868ca3831c206aeb..f4e246c9e94880ee6b670478366b01386a9b9ef2 100644
(file)
--- 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 = "/"