blob: 94d6f3e285c4a454cda154b481a01c20e8538ee9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- a/src/cmd/goinstall/main.go
+++ b/src/cmd/goinstall/main.go
@@ -169,8 +169,8 @@ func install(pkg, parent string) {
dir = pkg
local = true
} else if isStandardPath(pkg) {
- dir = filepath.Join(root, filepath.FromSlash(pkg))
- local = true
+ visit[pkg] = done
+ return
} else {
proot = findPkgroot(pkg)
err := download(pkg, proot.srcDir())
|