]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
Handle errors right.
authorRudolf Polzer <divverent@xonotic.org>
Thu, 12 Sep 2013 13:57:33 +0000 (15:57 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Thu, 12 Sep 2013 13:57:33 +0000 (15:57 +0200)
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