diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-06-01 07:59:03 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-06-01 07:59:03 +0000 |
commit | 52c7c592040ff379b0e7b334fa85eef904b45a7d (patch) | |
tree | 705f7c1df4564d7d3e4ea59c9f519ccfe3eef750 | |
parent | 7790e85e9da08806ebee1462e1d1fd6772903575 (diff) | |
download | portage-52c7c592040ff379b0e7b334fa85eef904b45a7d.tar.gz portage-52c7c592040ff379b0e7b334fa85eef904b45a7d.tar.bz2 portage-52c7c592040ff379b0e7b334fa85eef904b45a7d.zip |
Fix --buildpkgonly so that the "clean" phase is run afterwards. In other cases, "clean" is triggered automatically after the package is merged.
svn path=/main/trunk/; revision=3445
-rwxr-xr-x | bin/emerge | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/emerge b/bin/emerge index ae3dfeb98..ced6c0efc 100755 --- a/bin/emerge +++ b/bin/emerge @@ -2036,6 +2036,9 @@ class depgraph: retval=portage.pkgmerge(mytbz2,myroot,self.pkgsettings) if retval is None: sys.exit(1) + elif "noclean" not in self.pkgsettings.features: + portage.doebuild(y, "clean", myroot, self.pkgsettings, + edebug, tree="porttree") else: short_msg = "emerge: ("+str(mergecount)+" of "+str(len(mymergelist))+") "+x[pkgindex]+" Clean" emergelog(" === ("+str(mergecount)+" of "+str(len(mymergelist))+") Cleaning ("+x[pkgindex]+"::"+y+")", short_msg=short_msg) |