1 |
commit: ecc16f6f8ecdc4f67a72aedfe72abaad1ab5a58e |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 2 20:26:28 2011 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 2 20:26:28 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=ecc16f6f |
7 |
|
8 |
_doebuild_path: initialise path before use |
9 |
|
10 |
NameError: global name 'path' is not defined |
11 |
|
12 |
--- |
13 |
pym/portage/package/ebuild/doebuild.py | 1 + |
14 |
1 files changed, 1 insertions(+), 0 deletions(-) |
15 |
|
16 |
diff --git a/pym/portage/package/ebuild/doebuild.py b/pym/portage/package/ebuild/doebuild.py |
17 |
index e2c5392..4df632d 100644 |
18 |
--- a/pym/portage/package/ebuild/doebuild.py |
19 |
+++ b/pym/portage/package/ebuild/doebuild.py |
20 |
@@ -130,6 +130,7 @@ def _doebuild_path(settings, eapi=None): |
21 |
# PREFIX LOCAL: use DEFAULT_PATH and EXTRA_PATH from make.globals |
22 |
defaultpath = [x for x in settings.get("DEFAULT_PATH", "").split(":") if x] |
23 |
extrapath = [x for x in settings.get("EXTRA_PATH", "").split(":") if x] |
24 |
+ path = [] |
25 |
|
26 |
if eapi not in (None, "0", "1", "2", "3"): |
27 |
path.append(os.path.join(portage_bin_path, "ebuild-helpers", "4")) |