summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/main.go b/main.go
index 4259608..4c239c0 100644
--- a/main.go
+++ b/main.go
@@ -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")