diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-04-02 09:10:10 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-04-02 09:10:10 +0000 |
commit | 96cf3f27499a9de50cdb98160821d2a1f9fcb0ae (patch) | |
tree | 3b25acb03485a4d1ba5d6c24104c0efe008c4165 | |
parent | b80a71e8d8dd43dc23a84f93cb6ccab523f1f942 (diff) | |
download | lua-aports-96cf3f27499a9de50cdb98160821d2a1f9fcb0ae.tar.bz2 lua-aports-96cf3f27499a9de50cdb98160821d2a1f9fcb0ae.tar.xz |
buildrepo: don't echo progress status for skipped
-rwxr-xr-x | buildrepo.lua | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/buildrepo.lua b/buildrepo.lua index 9a0d019..192d0f1 100755 --- a/buildrepo.lua +++ b/buildrepo.lua @@ -74,9 +74,6 @@ local function build_aport(aport, repodest, logdir, skip_failed) err("%s", errmsg) return nil end - if skip_failed and skip_aport(aport) then - return nil - end local logredirect = "" if logdir ~= nil then local dir = ("%s/%s"):format(logdir, aport.pkgname) @@ -181,7 +178,7 @@ for _,repo in pairs(args) do local totally_built = stats[repo].relevant_aports - #pkgs + built if not db:known_deps_exists(aport) then warn("%s: Skipped due to missing dependencies", aport.pkgname) - else + elseif not (skip_failed and skip_aport(aport)) then io.write(("%d/%d %d/%d %s %s\n"):format(tried, #pkgs, totally_built, stats[repo].relevant_aports, |