run: add missing params to curl
parent
d678fda96e
commit
d98d0b9522
2
run.sh
2
run.sh
|
@ -27,7 +27,7 @@ URL="$HOST/index.php/apps/memories/static/go-vod?arch=$ARCH"
|
||||||
function fetch_binary {
|
function fetch_binary {
|
||||||
while true; do
|
while true; do
|
||||||
rm -f go-vod
|
rm -f go-vod
|
||||||
curl -m 10 -s -o go-vod $URL
|
curl -L -k -f -m 10 -s -o go-vod $URL
|
||||||
if [[ $? == 0 ]]; then
|
if [[ $? == 0 ]]; then
|
||||||
chmod +x go-vod
|
chmod +x go-vod
|
||||||
echo "Fetched $URL successfully!"
|
echo "Fetched $URL successfully!"
|
||||||
|
|
Loading…
Reference in New Issue