X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=misc%2Ftools%2Fxonotic-map-compiler-autobuild;h=9534301ee0683b3fda07191d9cfcccfb6b7b20c4;hb=3a27e02f3a7ffcce4da1955646b9239109dff481;hp=212d0a9656cdd6137a23e13d0826bc9cbdeebc19;hpb=4c6e2486fffdf31d00e5be9a8348dd0e99247b5e;p=xonotic%2Fxonotic.git diff --git a/misc/tools/xonotic-map-compiler-autobuild b/misc/tools/xonotic-map-compiler-autobuild index 212d0a96..9534301e 100755 --- a/misc/tools/xonotic-map-compiler-autobuild +++ b/misc/tools/xonotic-map-compiler-autobuild @@ -4,6 +4,7 @@ set -e bspdir="$PWD/data" url=http://141.2.16.23/~xonotic/bsp-autobuilds/ +override="-bsp_timeout 900 -vis_timeout 3600 -light_timeout 14400 -minimap_timeout 900 -scale_timeout 900" bspoutdir="$HOME/public_html/bsp-autobuilds/" @@ -127,7 +128,7 @@ buildthemap() fi ( cd maps - ../../../misc/tools/xonotic-map-compiler "$M" `grep ^- "$M.map.options" | cut -d '#' -f 1` 2>&1 | tee "$M.log" + ../../../misc/tools/xonotic-map-compiler "$M" `grep ^- "$M.map.options" | cut -d '#' -f 1` $override > "$M.log" ) status=$? if [ -n "$IRCSPAM" ]; then @@ -153,12 +154,12 @@ getthemap() if ! wget -O "$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 1 + return 0 fi if ! unzip -l "$bspdir/$M-$blobhash.pk3"; then rm -f "$bspdir/$M-$blobhash.pk3" echo "WARNING: could not download $url$M-$blobhash.pk3, invalid zip file" - return 1 + return 0 fi }