]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/xonotic-map-compiler-autobuild
Fix weird paste error in release-engine-win32.
[xonotic/xonotic.git] / misc / tools / xonotic-map-compiler-autobuild
index 70ab29f6ae573fd076091a5615cd95cb8b226a61..2f93abd9e4b720177c3e590a5b5f422a53c93ef4 100755 (executable)
@@ -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"
@@ -238,7 +238,7 @@ screenshotthemap()
        M=$3
        blobhash=$4
        commithash=$5
-       if ! [ -f "$bspdir/$M-$blobhash.pkg" ]; then
+       if ! [ -f "$bspdir/$M-$blobhash.pk3" ]; then
                # not downloaded yet
                return
        fi
@@ -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