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