mirror of
https://github.com/golang/go
synced 2024-11-21 21:14:47 -07:00
goinstall: honour -install=false flag when -make=true
R=rsc CC=golang-dev https://golang.org/cl/5448124
This commit is contained in:
parent
b219e8cbcf
commit
2c7a84a95b
@ -29,7 +29,12 @@ func domake(dir, pkg string, tree *build.Tree, isCmd bool) (err error) {
|
|||||||
} else if *clean {
|
} else if *clean {
|
||||||
cmd = append(cmd, "clean")
|
cmd = append(cmd, "clean")
|
||||||
}
|
}
|
||||||
cmd = append(cmd, "install")
|
if *doInstall {
|
||||||
|
cmd = append(cmd, "install")
|
||||||
|
}
|
||||||
|
if len(cmd) <= 3 { // nothing to do
|
||||||
|
return nil
|
||||||
|
}
|
||||||
return run(dir, makefile, cmd...)
|
return run(dir, makefile, cmd...)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user