diff --git a/README.md b/README.md index 8574a9a26..2e27181f6 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ USAGE: gopm [global options] command [command options] [arguments...] VERSION: - 0.6.3.0311 + 0.6.3.0313 COMMANDS: get fetch remote package(s) and dependencies to local repository diff --git a/cmd/gopath.go b/cmd/gopath.go index 8fe40064e..aac6b7457 100644 --- a/cmd/gopath.go +++ b/cmd/gopath.go @@ -257,7 +257,7 @@ func genNewGoPath(ctx *cli.Context, isTest bool) { 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))) { log.Log("Linking %s", name+suf) err = autoLink(oldPath, newPath) diff --git a/gopm.go b/gopm.go index 0695a5ad9..80700358e 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.3.0312" +const APP_VER = "0.6.3.0313" // //cmd.CmdSearch, // cmdClean,