# HG changeset patch # User Tony Theodore # Date 1347786191 -36000 # Node ID 6c492e126140dc7ad998c55fa7a87ce38024e984 # Parent 4647b1a6c3427fe9043df2ecd0dc19e5535435b5 cleanup after failed download diff -r 4647b1a6c342 -r 6c492e126140 Makefile --- a/Makefile Sun Sep 16 18:26:07 2012 +1000 +++ b/Makefile Sun Sep 16 19:03:11 2012 +1000 @@ -71,7 +71,7 @@ $(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])