projects
/
pd-aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
53eb5ac
)
scripts/get_waf.sh: add script to fetch waf
author
Paul Brossier
<piem@piem.org>
Tue, 14 Mar 2017 02:54:06 +0000
(
03:54
+0100)
committer
Paul Brossier
<piem@piem.org>
Tue, 14 Mar 2017 02:54:06 +0000
(
03:54
+0100)
scripts/get_waf.sh
[new file with mode: 0755]
patch
|
blob
diff --git a/scripts/get_waf.sh
b/scripts/get_waf.sh
new file mode 100755
(executable)
index 0000000..
db8d5fa
--- /dev/null
+++ b/
scripts/get_waf.sh
@@ -0,0
+1,11
@@
+#! /bin/sh
+
+set -e
+set -x
+
+WAFURL=https://waf.io/waf-1.9.6
+
+( which wget > /dev/null && wget -qO waf $WAFURL ) || ( which curl > /dev/null && curl $WAFURL > waf )
+
+chmod +x waf
+