summaryrefslogtreecommitdiff
path: root/readControlFile.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-18 07:29:44 -0600
committerJeff Carr <[email protected]>2025-01-18 07:29:44 -0600
commitd51f5b385ab89fd9b898d8feec470289b5db6802 (patch)
treea1f2e74dc83aabd70f62d7fea47007aa89b38d22 /readControlFile.go
parent1e5fac4cd85f0270d9997792fa85c11c35c0d2f2 (diff)
attempt to fix when not using forgev0.22.57
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()