]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
add IRCSPAM support
authorRudolf Polzer <divVerent@xonotic.org>
Fri, 21 Jun 2013 08:15:36 +0000 (10:15 +0200)
committerRudolf Polzer <divVerent@xonotic.org>
Fri, 21 Jun 2013 08:15:36 +0000 (10:15 +0200)
misc/tools/xonotic-map-compiler-optionsfile

index 95b5ae8554301da59b0c614fbb5c2ceb0732553a..6ede9d5d2f5269fdf0431d9ed87593a8802a6b62 100755 (executable)
@@ -16,6 +16,9 @@ tstart=`date +%s`
 lasttime=`cat ~/.xonotic-map-compiler-autobuild/"${M##*/}".buildtime 2>/dev/null || true`
 if [ -n "$lasttime" ] ; then
        echo "Done in approximately $((($lasttime+59)/60)) minutes."
+       if [ -n "$IRCSPAM" ]; then
+               echo "Done in approximately $((($lasttime+59)/60)) minutes." | $IRCSPAM || true
+       fi
 fi
 
 misc/tools/xonotic-map-compiler "$M" `grep ^- "$M.map.options" | cut -d '#' -f 1` $minimap_override "$@"