]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/xonotic-map-compiler-optionsfile
Clarify autobuild-bsp time estimate message
[xonotic/xonotic.git] / misc / tools / xonotic-map-compiler-optionsfile
index 95b5ae8554301da59b0c614fbb5c2ceb0732553a..7693201b52b2c4c58e8dc8516624f20949974c9c 100755 (executable)
@@ -15,7 +15,10 @@ 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."
+       echo "Predicted build time is $((($lasttime+59)/60)) minutes."
+       if [ -n "$IRCSPAM" ]; then
+               echo "Predicted build time is $((($lasttime+59)/60)) minutes." | $IRCSPAM >/dev/null 2>&1 || true
+       fi
 fi
 
 misc/tools/xonotic-map-compiler "$M" `grep ^- "$M.map.options" | cut -d '#' -f 1` $minimap_override "$@"