commit: 2e75e7625dea6b33da999b48436719d2dc54b7cc
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 3 06:23:33 2017 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sun Sep 3 06:28:12 2017 +0000
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=2e75e762
gen_funcs: less cleanup if debug.
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
gen_funcs.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gen_funcs.sh b/gen_funcs.sh
index 9c9d3d6..9e8cb1c 100755
--- a/gen_funcs.sh
+++ b/gen_funcs.sh
@@ -227,7 +227,7 @@ gen_die() {
print_error 1 ''
# Cleanup temp dirs and caches if requested
- cleanup
+ isTrue "${CMD_DEBUGCLEANUP}" && cleanup
exit 1
}