From d51f5b385ab89fd9b898d8feec470289b5db6802 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 18 Jan 2025 07:29:44 -0600 Subject: attempt to fix when not using forge --- readControlFile.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'readControlFile.go') 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() -- cgit v1.2.3