projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1530b3a
)
config.environ: filter calling env only if mycpv
author
Zac Medico
<zmedico@gentoo.org>
Thu, 25 Nov 2010 17:27:19 +0000
(09:27 -0800)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 25 Nov 2010 17:27:19 +0000
(09:27 -0800)
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 043a310b835aeb35b706d40e64eff052318974c0..3c66d80472081d85c8a59e13ed882364055df29b 100644
(file)
--- a/
pym/portage/package/ebuild/config.py
+++ b/
pym/portage/package/ebuild/config.py
@@
-2008,7
+2008,8
@@
class config(object):
eapi = self.get('EAPI')
phase = self.get('EBUILD_PHASE')
filter_calling_env = False
- if phase not in ('clean', 'cleanrm', 'depend', 'fetch'):
+ if self.mycpv is not None and \
+ phase not in ('clean', 'cleanrm', 'depend', 'fetch'):
temp_dir = self.get('T')
if temp_dir is not None and \
os.path.exists(os.path.join(temp_dir, 'environment')):