aboutsummaryrefslogtreecommitdiff
path: root/libexec/build-make-compile
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/build-make-compile')
-rwxr-xr-xlibexec/build-make-compile4
1 files changed, 3 insertions, 1 deletions
diff --git a/libexec/build-make-compile b/libexec/build-make-compile
index c0ff684..8d0e59b 100755
--- a/libexec/build-make-compile
+++ b/libexec/build-make-compile
@@ -63,7 +63,9 @@ build_make_compile()
# for build, so we might as well gut it now. About the best option we
# could do would be to avoid gutting this when being run in --debug
# mode.
- find "${S}" -delete &
+ if test "${BUILDER_DEBUG:-0}" -eq '0'; then
+ find "${S}" -delete &
+ fi
##
# Generate the file index. This is done as a 0 delimited file stored