git://git.jankratochvil.net
/
massrebuild.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e677ed
)
runone: .filesize: %{size} -> %{longsize}
author
Jan Kratochvil
<jan.kratochvil@redhat.com>
Sun, 19 Jul 2020 13:41:40 +0000
(15:41 +0200)
committer
Jan Kratochvil
<jan.kratochvil@redhat.com>
Sun, 19 Jul 2020 13:41:40 +0000
(15:41 +0200)
runone
patch
|
blob
|
history
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
- sizethis="$(rpm -q --qf '%{size}' -p $i)"
+ sizethis="$(rpm -q --qf '%{
long
size}' -p $i)"
[[ "$sizethis" =~ ^[0-9]+$ ]]
size=$[$size+$sizethis]
fi