summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2012-09-16 09:03:11 (GMT)
committerTony Theodore <tonyt@logyst.com>2012-09-16 09:03:11 (GMT)
commitb4ec3437d20835ff9ff651cb1809a996de02058c (patch)
tree4a8e978c440e5413234e161337e8b963b0dae021 /Makefile
parentcf12ed3972b9972395b33341ac5b7bf1cc3a59b1 (diff)
downloadmxe-b4ec3437d20835ff9ff651cb1809a996de02058c.zip
mxe-b4ec3437d20835ff9ff651cb1809a996de02058c.tar.gz
mxe-b4ec3437d20835ff9ff651cb1809a996de02058c.tar.bz2
cleanup after failed download
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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])