projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7482cd2
)
Fix ebuild.sh argument for cleanrm phase.
author
Zac Medico
<zmedico@gentoo.org>
Tue, 17 Aug 2010 00:34:02 +0000
(17:34 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 17 Aug 2010 00:34:02 +0000
(17:34 -0700)
pym/_emerge/EbuildProcess.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/EbuildProcess.py
b/pym/_emerge/EbuildProcess.py
index 2d4d61b1b8e9a474e269e43c27b44f3f50a636f6..c60c2bda9c22931890e6dbaecf01a456ffb60c1e 100644
(file)
--- a/
pym/_emerge/EbuildProcess.py
+++ b/
pym/_emerge/EbuildProcess.py
@@
-28,9
+28,14
@@
class EbuildProcess(AbstractEbuildProcess):
kwargs.update(actionmap[self.phase]["args"])
cmd = actionmap[self.phase]["cmd"] % self.phase
else:
+ if self.phase == 'cleanrm':
+ ebuild_sh_arg = 'clean'
+ else:
+ ebuild_sh_arg = self.phase
+
cmd = "%s %s" % (_shell_quote(os.path.join(
self.settings["PORTAGE_BIN_PATH"],
- os.path.basename(EBUILD_SH_BINARY))),
self.phase
)
+ os.path.basename(EBUILD_SH_BINARY))),
ebuild_sh_arg
)
try:
return doebuild_spawn(cmd, self.settings, **kwargs)
finally: