diff options
-rw-r--r-- | cmd/ponzu/add.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/ponzu/add.go b/cmd/ponzu/add.go index 5d443b7..f1b6cf5 100644 --- a/cmd/ponzu/add.go +++ b/cmd/ponzu/add.go @@ -2,6 +2,7 @@ package main import ( "errors" + "log" "os" "os/exec" "path/filepath" @@ -42,7 +43,9 @@ func getAddon(args []string) error { gopath := resolveGOPATH() src := filepath.Join(gopath, addonPath) + log.Println(src) dest := filepath.Join("addons", addonPath) + log.Println(dest) err = copyAll(src, dest) if err != nil { @@ -55,7 +58,6 @@ func getAddon(args []string) error { // `go get` uses saves packages to the first entry, so this function // should parse out the first whatever the OS func resolveGOPATH() string { - envGOPATH := os.Getenv("GOPATH") gopaths := strings.Split(envGOPATH, ":") gopath := gopaths[0] |