From b4ec3437d20835ff9ff651cb1809a996de02058c Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Sun, 16 Sep 2012 19:03:11 +1000 Subject: cleanup after failed download --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8f77376..e37df40 100644 --- a/Makefile +++ b/Makefile @@ -71,7 +71,7 @@ DOWNLOAD_PKG_ARCHIVE = \ $(if $($(1)_FIX_GZIP), \ | gzip -d | gzip -9n, \ ) \ - > '$(PKG_DIR)/$($(1)_FILE)' + > '$(PKG_DIR)/$($(1)_FILE)' || rm -f '$(PKG_DIR)/$($(1)_FILE)' ifeq ($(IGNORE_SETTINGS),yes) $(info [ignore settings.mk]) -- cgit v0.12