diff options
-rw-r--r-- | pym/portage/package/ebuild/prepare_build_dirs.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |