comparison scripts/get_waf.sh @ 118:025228ce4973

scripts/get_waf.sh: add script to fetch latest waf
author Paul Brossier <piem@piem.org>
date Thu, 21 Jul 2016 23:02:08 +0200
parents
children 853f9644ad9c
comparison
equal deleted inserted replaced
117:0127ded40575 118:025228ce4973
1 #! /bin/sh
2
3 set -e
4 set -x
5
6 WAFURL=https://waf.io/waf-1.9.1
7
8 ( which wget > /dev/null && wget -qO waf $WAFURL ) || ( which curl > /dev/null && curl $WAFURL > waf )
9
10 chmod +x waf