diff options
| author | Jeff Carr <[email protected]> | 2025-10-19 05:01:42 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-19 05:01:42 -0500 |
| commit | 9ac5032144a72a71515cdccbfddce44bdb8b9d2c (patch) | |
| tree | d25fe8435475e86347368ec62f14b843c38a568c /build.go | |
| parent | 7abc658c20a143bef36e30ad34719776bbc7a505 (diff) | |
new argv schemev0.22.166
Diffstat (limited to 'build.go')
| -rw-r--r-- | build.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -198,14 +198,14 @@ func buildPackage(repo *gitpb.Repo) (bool, error) { r := repo.Run([]string{"du", "-s"}) if len(r.Stdout) != 1 { - me.sh.BadExit("du -s files/ failed", r.Error) + me.argv.BadExit("du -s files/ failed", r.Error) } me.pb.DebInfo.InstalledSize = strings.Fields(r.Stdout[0])[0] controlfile := debian.MakeControlFile(me.pb) controlfile += "\n" log.Info(controlfile) if err := os.WriteFile("files/DEBIAN/control", []byte(controlfile), 0644); err != nil { - me.sh.BadExit("write err files/DEBIAN/control", err) + me.argv.BadExit("write err files/DEBIAN/control", err) } cmd := []string{"dpkg-deb", "--root-owner-group", "--build", "files", fulldebname} |
