diff --git a/.gopmfile b/.gopmfile index 086c3463a..103a06e97 100644 --- a/.gopmfile +++ b/.gopmfile @@ -2,8 +2,8 @@ path=github.com/gpmgo/gopm [deps] -github.com/codegangsta/cli= -github.com/Unknwon/com= -github.com/Unknwon/goconfig= -github.com/aybabtme/color= +github.com/codegangsta/cli= +github.com/Unknwon/com= +github.com/Unknwon/goconfig= +github.com/aybabtme/color= diff --git a/cmd/gopath.go b/cmd/gopath.go index 659ec8be9..e1a60650a 100644 --- a/cmd/gopath.go +++ b/cmd/gopath.go @@ -91,7 +91,7 @@ func getChildPkgs(ctx *cli.Context, cpath string, ppkg *doc.Pkg, cachePkgs map[s newPath = filepath.Join(installGopath, pkgPath) } if pkgName != "" && strings.HasPrefix(pkg.ImportPath, pkgName) { - newPath = filepath.Join(curPath, pkgPath) + newPath = filepath.Join(curPath, strings.TrimPrefix(pkg.ImportPath, pkgName)) } else { if !com.IsExist(newPath) { node := doc.NewNode(pkg.ImportPath, pkg.ImportPath, diff --git a/gopm.go b/gopm.go index 49ac28adb..86008f894 100644 --- a/gopm.go +++ b/gopm.go @@ -29,7 +29,7 @@ import ( // Test that go1.1 tag above is included in builds. main.go refers to this definition. const go11tag = true -const APP_VER = "0.6.0.1206" +const APP_VER = "0.6.0.1206.1" // //cmd.CmdSearch, // cmdClean,