From: Zac Medico Date: Fri, 16 Jul 2010 05:14:01 +0000 (-0700) Subject: Make prepare_build_dirs() respect FEATURES=keeptemp. X-Git-Tag: v2.2_rc68~494 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b8e41c47c07edb38e32f4a400e834efc2d0b6425;p=portage.git Make prepare_build_dirs() respect FEATURES=keeptemp. --- diff --git a/pym/portage/package/ebuild/prepare_build_dirs.py b/pym/portage/package/ebuild/prepare_build_dirs.py index 2bf2e9ee0..dc29eeeb8 100644 --- a/pym/portage/package/ebuild/prepare_build_dirs.py +++ b/pym/portage/package/ebuild/prepare_build_dirs.py @@ -24,7 +24,7 @@ def prepare_build_dirs(myroot, mysettings, cleanup): # We enable cleanup when we want to make sure old cruft (such as the old # environment) doesn't interfere with the current phase. - if cleanup: + if cleanup and 'keeptemp' not in mysettings.features: clean_dirs.append(mysettings["T"]) for clean_dir in clean_dirs: