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