From: Matthias Krüger Date: Mon, 17 Jun 2013 22:39:30 +0000 (+0200) Subject: xonotic-map-compiler-optionsfile : store seconds in file $M:30 X-Git-Tag: xonotic-v0.8.0~112 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d6b69254f7278737e04d446b64e37f4e8cd28f06;p=xonotic%2Fxonotic.git xonotic-map-compiler-optionsfile : store seconds in file $M:30 --- diff --git a/misc/tools/xonotic-map-compiler-optionsfile b/misc/tools/xonotic-map-compiler-optionsfile index 15113e29..4f798c64 100755 --- a/misc/tools/xonotic-map-compiler-optionsfile +++ b/misc/tools/xonotic-map-compiler-optionsfile @@ -18,4 +18,7 @@ tstart=`date +%s` misc/tools/xonotic-map-compiler "$M" `grep ^- "$M.map.options" | cut -d '#' -f 1` $minimap_override "$@" tend=`date +%s` -let tdelta=$tend-$tstart +let tdelta=$tend-$tstart # compute time + +cd ~/.xonotic-map-compiler-autobuild/ +echo $tdelta > ${M:30} # save time in ~/.xonotic-map-compiler-autobuild/mapname