diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -21,7 +21,7 @@ var cBox *controlBox var basicWindow *gadgets.BasicWindow func main() { - if args.Repo == "" { + if argv.Repo == "" { log.Info("You need to tell me what repo you want to work on") println("") println("go-deb --repo go.wit.com/apps/helloworld") @@ -32,11 +32,11 @@ func main() { basicWindow = makebasicWindow() - filepath := filepath.Join("/home/jcarr/go/src", args.Repo) + filepath := filepath.Join("/home/jcarr/go/src", argv.Repo) os.Chdir(filepath) // scan the repo - cBox.addRepo(args.Repo) + cBox.addRepo(argv.Repo) // look for a 'config' file in the repo if cBox.readControlFile() == nil { @@ -47,7 +47,7 @@ func main() { cBox.computeControlValues() // verify the values for the package - if args.NoGui { + if argv.NoGui { shell.TestTerminalColor() if ok, err := cBox.buildPackage(); ok { log.Info("build worked") |
