]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
make ircspam failures non fatal
authorRudolf Polzer <divverent@xonotic.org>
Tue, 6 Mar 2012 16:32:20 +0000 (17:32 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Tue, 6 Mar 2012 16:32:20 +0000 (17:32 +0100)
misc/tools/xonotic-map-compiler-autobuild

index 02e11b2fd006abd9f4c1938de6d11428a7b5c434..5884e65c80db0782795bb2e9e5db24b2fc8b9336 100755 (executable)
@@ -172,7 +172,7 @@ buildthemap()
        git checkout -f "$commithash"
 
        if [ -n "$IRCSPAM" ]; then
-               pre2spam "$M" "$url$M-$blobhash.pk3" "$REFNAME" "$commithash" | $IRCSPAM
+               pre2spam "$M" "$url$M-$blobhash.pk3" "$REFNAME" "$commithash" | $IRCSPAM || true
        fi
        t0=`date +%s`
        (
@@ -202,7 +202,7 @@ buildthemap()
        rsync -vaSHP "$M-$blobhash.pk3" "$M-full-$blobhash.pk3" "$url_ssh"
        rsync -vaSHP "$M.pk3" "$M-full.pk3" "$url_ssh""latest/"
        if [ -n "$IRCSPAM" ]; then
-               $IRCSPAM < "maps/$M.irc"
+               $IRCSPAM < "maps/$M.irc" || true
        fi
 }
 
@@ -253,7 +253,7 @@ screenshotthemap()
        rsync -vaSHP "$M-$blobhash" "$url_ssh"
        rsync -vaSHP "$M" "$url_ssh""latest/"
        if [ -n "$IRCSPAM" ]; then
-               $IRCSPAM < "$M-$blobhash/$M.ircss"
+               $IRCSPAM < "$M-$blobhash/$M.ircss" || true
        fi
 }