Browse Source

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).
Phil Sutter 14 years ago
parent
commit
fde11aa6b2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mk/fetch.mk

+ 1 - 1
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 \