mirror of
https://github.com/golang/go
synced 2024-11-24 21:00:09 -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 {
|
||||
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...)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user