Browse Source

Bug fixed with gopmgile

pull/103/head
Unknown 11 years ago
parent
commit
4aae955ec6
  1. 2
      cmd/gopath.go
  2. 2
      gopm.go

2
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,

2
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,

Loading…
Cancel
Save