From 50179e64abae6081f0109c524eea2ec796759b54 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Thu, 21 Jul 2016 23:02:08 +0200 Subject: [PATCH] scripts/get_waf.sh: add script to fetch latest waf --- scripts/get_waf.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 scripts/get_waf.sh diff --git a/scripts/get_waf.sh b/scripts/get_waf.sh new file mode 100755 index 0000000..e2fbd16 --- /dev/null +++ b/scripts/get_waf.sh @@ -0,0 +1,10 @@ +#! /bin/sh + +set -e +set -x + +WAFURL=https://waf.io/waf-1.9.1 + +( which wget > /dev/null && wget -qO waf $WAFURL ) || ( which curl > /dev/null && curl $WAFURL > waf ) + +chmod +x waf -- 2.11.0