mirror of
https://gitlab.com/xonotic/xonotic
synced 2025-01-22 14:03:49 +00:00
make ircspam failures non fatal
This commit is contained in:
parent
d6c12f67ce
commit
a09032a806
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user