diff options
Diffstat (limited to 'doBuild.debian.go')
| -rw-r--r-- | doBuild.debian.go | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/doBuild.debian.go b/doBuild.debian.go index 4944907..6906c14 100644 --- a/doBuild.debian.go +++ b/doBuild.debian.go @@ -118,13 +118,8 @@ func doBuildDeb(all *gitpb.Repos) (string, error) { } me.forge.ConfigRill(16, 16) - stats := me.forge.RunOnRepos(all, runFromDL) - for s, stat := range stats { - if stat.Err != nil { - return "ERROR WITH buildDeb " + s, stat.Err - } - } - if totalBuilt == 0 { + built := me.forge.RunOnRepos(all, runFromDL) + if built.Len() == 0 { if argv.DryRun { log.Info("") return "--dry-run TRUE (nothing done)", nil @@ -143,6 +138,7 @@ func doBuildDeb(all *gitpb.Repos) (string, error) { return "all .deb built ok", nil } +// build a .deb package for a repo func runFromDL(repo *gitpb.Repo) error { var err error cmd := repo.DirtyList |
