summaryrefslogtreecommitdiff
path: root/readControlFile.go
diff options
context:
space:
mode:
Diffstat (limited to 'readControlFile.go')
-rw-r--r--readControlFile.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/readControlFile.go b/readControlFile.go
index ea32da9..32db33f 100644
--- a/readControlFile.go
+++ b/readControlFile.go
@@ -22,10 +22,10 @@ func (c *controlBox) readControlFile() error {
pairs["Architecture"] = "amd64" // TODO: figure this out
pairs["Recommends"] = ""
pairs["Source"] = "notsure"
- if argv.Repo == "" {
+ if me.repo == nil {
pairs["Description"] = "put something here"
} else {
- pairs["Description"] = argv.Repo
+ pairs["Description"] = me.repo.GetGoPath()
}
}
defer file.Close()