From d6b69254f7278737e04d446b64e37f4e8cd28f06 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Matthias=20Kr=C3=BCger?= Date: Tue, 18 Jun 2013 00:39:30 +0200 Subject: [PATCH] xonotic-map-compiler-optionsfile : store seconds in file $M:30 --- misc/tools/xonotic-map-compiler-optionsfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.39.2