From: Rudolf Polzer Date: Wed, 25 May 2011 14:26:58 +0000 (+0200) Subject: fix negative numbers :P X-Git-Tag: xonotic-v0.5.0~87 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0be4e76a8d526fca89fd6e6adc809bd6fbcd02ee;p=xonotic%2Fxonotic.git fix negative numbers :P --- diff --git a/all b/all index 8c4cde78..c6fda9bc 100755 --- a/all +++ b/all @@ -284,12 +284,12 @@ case "$cmd" in release_tempstarttime=$release_starttime release_timereport() { - release_now=`date +%s` # RELEASE NOW!!! + release_endtime=`date +%s` # RELEASE NOW!!! if [ -n "$*" ]; then - release_deltatime=$(($release_tempstarttime - $release_now)) + release_deltatime=$(($release_endtime - $release_tempstarttime)) msg "**** $release_args: $*: $release_deltatime seconds" fi - release_tempstarttime=$release_now + release_tempstarttime=$release_endtime } ;; esac