diff options
| author | Jeff Carr <[email protected]> | 2025-10-26 10:30:18 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-26 10:30:18 -0500 |
| commit | 337add61d45b558fe11765342b7498a86d5834df (patch) | |
| tree | 5952cdd2d28323352a3cc79ae62aeb5acda183e9 /makePackagesFile.go | |
| parent | d4ac45d164ab08b212382220e31f12c810e77265 (diff) | |
argv finally doesn't suckv0.0.32
Diffstat (limited to 'makePackagesFile.go')
| -rw-r--r-- | makePackagesFile.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/makePackagesFile.go b/makePackagesFile.go index f39093a..db83836 100644 --- a/makePackagesFile.go +++ b/makePackagesFile.go @@ -14,6 +14,7 @@ import ( "go.wit.com/lib/debian" "go.wit.com/lib/env" "go.wit.com/lib/gui/shell" + "go.wit.com/lib/protobuf/argvpb" "go.wit.com/log" ) @@ -39,11 +40,11 @@ func makePackagesFile(arch string) (string, error) { } if err := os.Chdir(me.pb.BaseDir); err != nil { - me.argv.BadExit("no '"+me.pb.BaseDir+"' directory", err) + argvpb.BadExit("no '"+me.pb.BaseDir+"' directory", err) } if !shell.IsDir("pool/") { - me.argv.BadExit("no "+filepath.Join(me.pb.BaseDir, "pool")+" directory", errors.New("mount -a ? missing wit/pool/")) + argvpb.BadExit("no "+filepath.Join(me.pb.BaseDir, "pool")+" directory", errors.New("mount -a ? missing wit/pool/")) } log.Info("Processing dir", filepath.Join(me.pb.BaseDir, "pool")) |
