]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/xonotic-map-compiler-autobuild
Handle errors right.
[xonotic/xonotic.git] / misc / tools / xonotic-map-compiler-autobuild
index 8ab0f443ac234229a0073d369b862dee4af25a67..fc0c0056b96b3e99b587378fdc49c9851bf6bbac 100755 (executable)
@@ -175,11 +175,13 @@ buildthemap()
                pre2spam "$M" "$url$M-$blobhash.pk3" "$REFNAME" "$commithash" | $IRCSPAM || true
        fi
        t0=`date +%s`
+       set +e
        (
                cd ../..
                misc/tools/xonotic-map-compiler-optionsfile "data/xonotic-maps.pk3dir/maps/$M" $build_override > "data/xonotic-maps.pk3dir/maps/$M.log" 2>&1
        )
        status=$?
+       set -e
        if ! [ -f "maps/$M.bsp" ]; then
                echo >>"maps/$M.log" "ERROR: No BSP file"
        fi