projects
/
catalyst.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cadad8
)
better fix (I think)
author
Rob Holland
<tigger@gentoo.org>
Tue, 3 Feb 2004 10:00:36 +0000
(10:00 +0000)
committer
Rob Holland
<tigger@gentoo.org>
Tue, 3 Feb 2004 10:00:36 +0000
(10:00 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@204
d1e1f19c
-881f-0410-ab34-
b69fee027534
modules/targets.py
patch
|
blob
|
history
diff --git
a/modules/targets.py
b/modules/targets.py
index 398fedd4a7a3479b2b3f3a6bf4be1905ab819b81..464d736d37d901984807ffd563e525f7cd6f67ef 100644
(file)
--- a/
modules/targets.py
+++ b/
modules/targets.py
@@
-218,7
+218,9
@@
class generic_stage_target(generic_target):
def clean(self):
destpath=self.settings["chroot_path"]
- cleanables=["/etc/resolv.conf","/var/tmp/*","/tmp/*","/root/*","/var/cache/ccache"]
+ cleanables=["/etc/resolv.conf","/var/tmp/*","/tmp/*","/root/*"]
+ if self.settings.has_key("CCACHE"):
+ cleanables.append("/var/cache/ccache/*")
if self.settings["target"] not in ["livecd-stage2"]:
#we don't need to clean up a livecd-stage2
cleanables.append("/usr/portage")