Преглед на файлове

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 години
родител
ревизия
fde11aa6b2
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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 \