diff options
| -rw-r--r-- | control | 2 | ||||
| -rw-r--r-- | main.go | 4 |
2 files changed, 5 insertions, 1 deletions
@@ -2,8 +2,10 @@ Source: go-deb Build-Depends: golang Package: go-deb Maintainer: Jeff Carr <[email protected]> +Packager: Jeff Carr <[email protected]> Architecture: amd64 Depends: +URL: https://go.wit.com/ Recommends: go-gui-toolkits Description: create distribution packages for golang repositories Hopefully, this can make compatible and correct source @@ -39,7 +39,9 @@ func main() { basicWindow = makebasicWindow() - filepath := filepath.Join("/home/jcarr/go/src", argv.Repo) + // todo: add the go.work file logic here + homeDir, _ := os.UserHomeDir() + filepath := filepath.Join(homeDir, "go/src", argv.Repo) os.Chdir(filepath) // scan the repo |
