projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8150064
)
_doebuild_path: initialise path before use
author
Fabian Groffen
<grobian@gentoo.org>
Fri, 2 Dec 2011 20:26:28 +0000
(21:26 +0100)
committer
Fabian Groffen
<grobian@gentoo.org>
Fri, 2 Dec 2011 20:26:28 +0000
(21:26 +0100)
NameError: global name 'path' is not defined
pym/portage/package/ebuild/doebuild.py
patch
|
blob
|
history
diff --git
a/pym/portage/package/ebuild/doebuild.py
b/pym/portage/package/ebuild/doebuild.py
index e2c5392064a5f0a9bef7a317f294aec44e5e308d..4df632dcf4bd8786286730d2eb5d32bd4b11dc7f 100644
(file)
--- a/
pym/portage/package/ebuild/doebuild.py
+++ b/
pym/portage/package/ebuild/doebuild.py
@@
-130,6
+130,7
@@
def _doebuild_path(settings, eapi=None):
# PREFIX LOCAL: use DEFAULT_PATH and EXTRA_PATH from make.globals
defaultpath = [x for x in settings.get("DEFAULT_PATH", "").split(":") if x]
extrapath = [x for x in settings.get("EXTRA_PATH", "").split(":") if x]
+ path = []
if eapi not in (None, "0", "1", "2", "3"):
path.append(os.path.join(portage_bin_path, "ebuild-helpers", "4"))