Browse Source

Merge pull request #12 from gpmgo/dev

Bug fix
pull/103/head
无闻 11 years ago
parent
commit
cd82b3c602
  1. 4
      cmd/gopath.go

4
cmd/gopath.go

@ -257,8 +257,8 @@ func genNewGoPath(ctx *cli.Context, isTest bool) {
continue
}
if (!isExistP && (len(pkg.Value) > 0 || ctx.Bool("remote"))) ||
!com.IsDir(filepath.Join(installGopath, pkg.ImportPath)) {
if !isExistP && ((len(pkg.Value) > 0 || ctx.Bool("remote")) ||
!com.IsDir(filepath.Join(installGopath, pkg.ImportPath))) {
log.Log("Linking %s", name+suf)
err = autoLink(oldPath, newPath)
if err != nil {

Loading…
Cancel
Save