better output
authorRudolf Polzer <divverent@alientrap.org>
Sun, 21 Nov 2010 15:22:42 +0000 (16:22 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Sun, 21 Nov 2010 15:22:42 +0000 (16:22 +0100)
all

diff --git a/all b/all
index ebe505eab9e188f2009ef512602f842291436364..9e4dd0dc5043882a168f9cd3032e2dc948cfbf14 100755 (executable)
--- a/all
+++ b/all
@@ -394,11 +394,11 @@ bestmirror()
                m=$pre$in$suf
                if t=`mirrorspeed "$m"`; then
                        if [ -n "$t" ]; then
-                               t=$(($t$op)) # fudge factor
-                               msg "$m -> $t ticks ($op)"
-                               if [ -z "$bestt" ] || [ "$t" -lt "$bestt" ]; then
+                               tt=$(($t$op)) # fudge factor
+                               msg "$m -> $t$op=$tt ticks"
+                               if [ -z "$bestt" ] || [ "$tt" -lt "$bestt" ]; then
                                        bestin=$in
-                                       bestt=$t
+                                       bestt=$tt
                                fi
                        else
                                msg "$m -> error"