aboutsummaryrefslogtreecommitdiffstats
path: root/erlang.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-10-14 14:40:15 +0200
committerLoïc Hoguin <[email protected]>2013-10-14 14:40:32 +0200
commit9e5b893306b8a2a09c5c63c381896a96ee82b26f (patch)
tree36ca367abfb20a12e946aba804a87b633f08f7ad /erlang.mk
parentb49987d61c99a764268e5157a36b223451603bd3 (diff)
downloaderlang.mk-9e5b893306b8a2a09c5c63c381896a96ee82b26f.tar.gz
erlang.mk-9e5b893306b8a2a09c5c63c381896a96ee82b26f.tar.bz2
erlang.mk-9e5b893306b8a2a09c5c63c381896a96ee82b26f.zip
Don't leave broken $(RELX) on error either
This will do until we stop using wget.
Diffstat (limited to 'erlang.mk')
-rw-r--r--erlang.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/erlang.mk b/erlang.mk
index d784dc9..ee6fc9f 100644
--- a/erlang.mk
+++ b/erlang.mk
@@ -61,7 +61,7 @@ export RELX
RELX_URL ?= https://github.com/erlware/relx/releases/download/0.4.0/relx
define get_relx
- wget -O $(RELX) $(RELX_URL)
+ wget -O $(RELX) $(RELX_URL) || rm $(RELX)
chmod +x $(RELX)
endef