blob: 92ae5bfe2bd8000dc38596f7f78f77f1d4414baf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/bash
# script to fetch toolchain source tar using ci.netsurf-browser.org as a cache
# Usage fetchsrc <target> <source> <upstream> <output>
NSSRV="https://ci.netsurf-browser.org/toolchain/"
wget -q -O ${4} ${NSSRV}/${1}/${2}
if [ $? -ne 0 ];then
wget -q -O ${4} ${3}
if [ $? -ne 0 ];then
rm ${4}
exit 1
fi
fi
|