From b8e41c47c07edb38e32f4a400e834efc2d0b6425 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 15 Jul 2010 22:14:01 -0700 Subject: [PATCH] Make prepare_build_dirs() respect FEATURES=keeptemp. --- pym/portage/package/ebuild/prepare_build_dirs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.26.2