diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-10-04 16:28:03 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-10-04 16:28:03 -0700 |
commit | d6149f5095024b71e48dfeeaecd51bbd1478267b (patch) | |
tree | 10f28011697009ae647805fd76ae56dcc5b0a3d7 /cmd/cms/options.go | |
parent | ba6ded7ee5738e424bb1a7db084e9d2f77a16544 (diff) |
updating some usage and API/Admin running method
Diffstat (limited to 'cmd/cms/options.go')
-rw-r--r-- | cmd/cms/options.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/cms/options.go b/cmd/cms/options.go index f95f800..94c809f 100644 --- a/cmd/cms/options.go +++ b/cmd/cms/options.go @@ -196,9 +196,9 @@ func createProjInDir(path string) error { gopath = gopath[:len(gopath)-1] gopath = filepath.Join(gopath, "src") - repo := "github.com/nilslice/cms" - local := filepath.Join(gopath, repo) - network := "https://" + repo + ".git" + repo := []string{"github.com", "nilslice", "cms"} + local := filepath.Join(gopath, filepath.Join(repo...)) + network := "https://" + strings.Join(repo, "/") + ".git" // create the directory or overwrite it err = os.MkdirAll(path, os.ModeDir|os.ModePerm) |