summaryrefslogtreecommitdiffstats
path: root/buildrepo.lua
diff options
context:
space:
mode:
Diffstat (limited to 'buildrepo.lua')
-rwxr-xr-xbuildrepo.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/buildrepo.lua b/buildrepo.lua
index bc3db1e..898d1e6 100755
--- a/buildrepo.lua
+++ b/buildrepo.lua
@@ -180,8 +180,10 @@ for _,repo in pairs(args) do
tried = 0
for aport in db:each_in_build_order(pkgs) do
tried = tried + 1
- io.write(("%d/%d/%d/%d %s\n"):format(built, tried, #pkgs,
- stats[repo].aports, aport.pkgname))
+ local totally_built = stats[repo].aports - #pkgs + built
+ io.write(("%d/%d %d/%d %s\n"):format(tried, #pkgs,
+ totally_built, stats[repo].aports,
+ aport.pkgname))
if build_aport(aport, repodest, logdir, opts.s) then
built = built + 1
else