Browse Source

Bug fix

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

4
cmd/gopath.go

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

Loading…
Cancel
Save