Fix handling of rules with multiple targets.
This commit is contained in:
parent
fc1d2ebfb8
commit
782a73e0d9
1 changed files with 1 additions and 1 deletions
2
mk.go
2
mk.go
|
|
@ -129,7 +129,6 @@ func mkNode(g *graph, u *node, dryrun bool) {
|
|||
}
|
||||
prereqs[i].mutex.Unlock()
|
||||
}
|
||||
e.r.mutex.Unlock()
|
||||
|
||||
// wait until all the prereqs are built
|
||||
for pending > 0 {
|
||||
|
|
@ -171,6 +170,7 @@ func mkNode(g *graph, u *node, dryrun bool) {
|
|||
} else if finalstatus != nodeStatusFailed {
|
||||
finalstatus = nodeStatusNop
|
||||
}
|
||||
e.r.mutex.Unlock()
|
||||
}
|
||||
|
||||
func mkError(msg string) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue