]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
fix negative numbers :P
authorRudolf Polzer <divVerent@xonotic.org>
Wed, 25 May 2011 14:26:58 +0000 (16:26 +0200)
committerRudolf Polzer <divVerent@xonotic.org>
Wed, 25 May 2011 14:26:58 +0000 (16:26 +0200)
all

diff --git a/all b/all
index 8c4cde78638d24ebb00098ee4309c2e4233a7902..c6fda9bc6153a04f2a5cab099c167020f992cbcc 100755 (executable)
--- 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