From fde11aa6b23ac7e16931a9825166b86998e4fbe3 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Wed, 24 Feb 2010 01:05:44 +0100 Subject: 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). --- mk/fetch.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mk/fetch.mk') 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 \ -- cgit v1.2.3