diff options
| author | Jeff Carr <[email protected]> | 2025-11-02 08:57:52 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-11-02 08:57:52 -0600 |
| commit | 1208b1625852b3c1622a45f0f1f8b816574c8c05 (patch) | |
| tree | 1416a583bc45017a66564c1e328a4d99eedb06c4 /doBuild.debian.go | |
| parent | 1269abed5695348c75b3da9b30fbfb8420833de1 (diff) | |
new names in forgepbdevel
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 |
