X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=blobdiff_plain;f=misc%2Ftools%2Fxonotic-map-compiler-autobuild;h=959dc91750c7ecf5f83d109a8aa84c68241e4b85;hp=212d0a9656cdd6137a23e13d0826bc9cbdeebc19;hb=627ef87743002dfc9a3f8238cc9be3355aba89d1;hpb=4c6e2486fffdf31d00e5be9a8348dd0e99247b5e diff --git a/misc/tools/xonotic-map-compiler-autobuild b/misc/tools/xonotic-map-compiler-autobuild index 212d0a96..959dc917 100755 --- a/misc/tools/xonotic-map-compiler-autobuild +++ b/misc/tools/xonotic-map-compiler-autobuild @@ -127,7 +127,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` > "$M.log" ) status=$? if [ -n "$IRCSPAM" ]; then @@ -153,12 +153,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 }