From a7b073b56f470f5653a86b0bd2ee0ba6ce067287 Mon Sep 17 00:00:00 2001 From: Unknown Date: Thu, 13 Mar 2014 17:07:46 -0400 Subject: [PATCH] Bug fix --- cmd/gopath.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/gopath.go b/cmd/gopath.go index 9a32398ee..8fe40064e 100644 --- a/cmd/gopath.go +++ b/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 {