projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22996b1
)
Fix handling of empty PORTDIR{,_OVERLAY} setting.
author
Zac Medico
<zmedico@gentoo.org>
Sat, 12 May 2012 01:34:36 +0000
(18:34 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 12 May 2012 01:34:36 +0000
(18:34 -0700)
pym/portage/package/ebuild/config.py
patch
|
blob
|
history
diff --git
a/pym/portage/package/ebuild/config.py
b/pym/portage/package/ebuild/config.py
index 1a88250e6d17c43c9a102739e37681f15b62e188..24342080f037af2c2c1e471fcb9b0dcfb78199e0 100644
(file)
--- a/
pym/portage/package/ebuild/config.py
+++ b/
pym/portage/package/ebuild/config.py
@@
-414,11
+414,11
@@
class config(object):
portdir_overlay = ""
for confs in [make_globals, make_conf, self.configdict["env"]]:
v = confs.get("PORTDIR")
- if v:
+ if v
is not None
:
portdir = v
known_repos.append(v)
v = confs.get("PORTDIR_OVERLAY")
- if v:
+ if v
is not None
:
portdir_overlay = v
known_repos.extend(shlex_split(v))
known_repos = frozenset(known_repos)