From: Thomas Glanzmann Date: Sun, 13 Feb 2022 19:50:52 +0000 (+0100) Subject: speedup upload by using ipv4 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/commitdiff_plain/29d3989878162e0b84bd2f9892d6db3cf7fe7d27 speedup upload by using ipv4 --- diff --git a/bootstrap.sh b/bootstrap.sh index 210a0b9..874435d 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -160,7 +160,7 @@ upload() for FILE in "$@"; do MYCURLARGS="$MYCURLARGS -F file=@${FILE}"; done; - curl -n -D - $MYCURLARGS https://upload.glanzmann.de/ | grep ^x-location | awk '{print $2}' + curl -4 -n -D - $MYCURLARGS https://upload.glanzmann.de/ | grep ^x-location | awk '{print $2}' } upload_artefacts()