runone: .filesize: %{size} -> %{longsize}
[massrebuild.git] / runone
diff --git a/runone b/runone
index 71a49f0..28d2c23 100755 (executable)
--- a/runone
+++ b/runone
@@ -78,7 +78,7 @@ for pkg in "$@";do
     size=0
     for i in $resultdir/*-debuginfo*.rpm;do
       if [ -e "$i" ];then
     size=0
     for i in $resultdir/*-debuginfo*.rpm;do
       if [ -e "$i" ];then
-       sizethis="$(rpm -q --qf '%{size}' -p $i)"
+       sizethis="$(rpm -q --qf '%{longsize}' -p $i)"
        [[ "$sizethis" =~ ^[0-9]+$ ]]
        size=$[$size+$sizethis]
       fi
        [[ "$sizethis" =~ ^[0-9]+$ ]]
        size=$[$size+$sizethis]
       fi