summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2010-02-24 01:05:44 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-02-24 19:19:14 +0100
commitfde11aa6b23ac7e16931a9825166b86998e4fbe3 (patch)
tree357b24dd34d2cf34dbbbba76d3d4384cd91af624 /mk
parent9bc792f14aed0da0aa2e35cde15438fd8a817755 (diff)
fetch.mk: allow directory removal to fail
This is helpful when the top-level build directory (the toolchain build dir in my case) is a mounted tmpfs (which therefore cannot be removed).
Diffstat (limited to 'mk')
-rw-r--r--mk/fetch.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/fetch.mk b/mk/fetch.mk
index 5a1ba5d43..2172e9d86 100644
--- a/mk/fetch.mk
+++ b/mk/fetch.mk
@@ -31,7 +31,7 @@ _CHECKSUM_COOKIE?= ${WRKDIR}/.checksum_done
checksum: ${_CHECKSUM_COOKIE}
ifeq ($(strip ${NO_CHECKSUM}),)
${_CHECKSUM_COOKIE}: ${FULLDISTFILES}
- rm -rf ${WRKDIR}
+ -rm -rf ${WRKDIR}
@OK=n; \
(md5sum ${FULLDISTFILES}; echo exit) | while read sum name; do \
if [[ $$sum = exit ]]; then \