projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a7f83e
)
Set PORTAGE_PYTHON for ebuild.sh subprocesses.
author
Zac Medico
<zmedico@gentoo.org>
Sun, 15 Aug 2010 07:14:10 +0000
(
00:14
-0700)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 15 Aug 2010 07:14:10 +0000
(
00:14
-0700)
pym/portage/tests/ebuild/test_doebuild_spawn.py
patch
|
blob
|
history
diff --git
a/pym/portage/tests/ebuild/test_doebuild_spawn.py
b/pym/portage/tests/ebuild/test_doebuild_spawn.py
index dd0ddcbad819806b4d7eb2077890c8008f5f0ffc..9882f2a037ca18456a7766690b6996e4bc5eb9a9 100644
(file)
--- a/
pym/portage/tests/ebuild/test_doebuild_spawn.py
+++ b/
pym/portage/tests/ebuild/test_doebuild_spawn.py
@@
-1,6
+1,7
@@
# Copyright 2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
+import sys
from portage import os
from portage import _shell_quote
from portage.const import EBUILD_SH_BINARY
@@
-24,6
+25,7
@@
class DoebuildSpawnTestCase(TestCase):
cpv = 'sys-apps/portage-2.1'
metadata = {}
settings.setcpv(cpv, mydb=metadata)
+ settings['PORTAGE_PYTHON'] = sys.executable
settings['PORTAGE_BUILDDIR'] = os.path.join(
settings['PORTAGE_TMPDIR'], cpv)
settings['T'] = os.path.join(