From 288c193c1ae42b733aab160da1fc0cd25a74d68e Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Thu, 21 Jul 2016 01:00:12 +0200 Subject: [PATCH] Makefile: use wget or curl --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2e691203..56caf0c7 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ checkwaf: @[ -f waf ] || make getwaf getwaf: - curl https://waf.io/waf-1.8.20 > waf + @( which wget > /dev/null && wget -qO waf $(WAFURL) ) || ( which curl > /dev/null && curl $(WAFURL) > waf ) @chmod +x waf expandwaf: -- 2.11.0