aboutsummaryrefslogtreecommitdiff
path: root/libexec/build-make-package
diff options
context:
space:
mode:
authorMark Ferrell <major@homeonderanged.org>2014-04-15 07:52:40 -0700
committerMark Ferrell <major@homeonderanged.org>2014-04-15 07:52:40 -0700
commit6ae2ec95ecaf7dd5f7627cd63612bc3a8fda0089 (patch)
treeecc9e47fb0941f17b181137545dc1264b8d9df98 /libexec/build-make-package
parent9d78746c742d2573c09bf420b2d06ff092e1ce88 (diff)
Do not cleanup ${S} or ${D} when debugging
Diffstat (limited to 'libexec/build-make-package')
-rwxr-xr-xlibexec/build-make-package4
1 files changed, 3 insertions, 1 deletions
diff --git a/libexec/build-make-package b/libexec/build-make-package
index 87cf024..1a97c31 100755
--- a/libexec/build-make-package
+++ b/libexec/build-make-package
@@ -53,7 +53,9 @@ build_make_archive()
fi
mv -v "${BUILD_MAKE_ARCHIVE_TMP2}" "${BUILDER_ATFDIR}/${CATEGORY}/${NAME}-${VERSION}-${RELEASE}.${ARCHIVE_FORMAT}" >> "${PKG_LOGFILE}" 2>&1
cd "${W}"
- find "${D}" -delete &
+ if test "${BUILDER_DEBUG:-0}" -eq '0'; then
+ find "${D}" -delete &
+ fi
##
# Technically everything should be done but we did throw a number of