X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=misc%2Ftools%2Fxonotic-map-compiler-autobuild;h=2f93abd9e4b720177c3e590a5b5f422a53c93ef4;hb=aa4a969cae8db928d3b9b8531ed27906cf5a5bb5;hp=f8f3455206619a2b1c5ac3a5ca8b95154bd9e9dd;hpb=3125fa3054f80110424c799d6961f6c49e9baf9b;p=xonotic%2Fxonotic.git diff --git a/misc/tools/xonotic-map-compiler-autobuild b/misc/tools/xonotic-map-compiler-autobuild index f8f34552..2f93abd9 100755 --- a/misc/tools/xonotic-map-compiler-autobuild +++ b/misc/tools/xonotic-map-compiler-autobuild @@ -3,8 +3,8 @@ set -e bspdir="$PWD/data" -url_http=http://beta.xonotic.org/autobuild-bsp/ -url_ssh=xonotic-beta:autobuild-bsp/ +url_http=https://beta.xonotic.org/autobuild-bsp/ +url_ssh=xonotic-beta:. build_cachedir="$HOME/xonotic-map-compiler.cache/" screenshot_cachedir="$HOME/xonotic-map-screenshot.cache/" build_override="-bsp_timeout 3600 -vis_timeout 10800 -light_timeout 18000 -minimap_timeout 900 -scale_timeout 900 -timeout_stealing 0.8" @@ -308,7 +308,7 @@ getthemap() fi fi if ! wget -c -O "$bspdir/$M-$blobhash.pk3" "$url$M-$blobhash.pk3"; then - if ! curl -o "$bspdir/$M-$blobhash.pk3" "$url$M-$blobhash.pk3"; then + if ! curl -Lo "$bspdir/$M-$blobhash.pk3" "$url$M-$blobhash.pk3"; then rm -f "$bspdir/$M-$blobhash.pk3" echo "WARNING: could not download $url$M-$blobhash.pk3, maybe not ready yet" return 0