mirror of https://github.com/golang/go.git
cmd/go: fix typo in link action ID hash input string
Fix a typo of "packageshlib" used for generating the link action ID. Change-Id: Id6d39830908b03de658a58661030c32c592a1da9 Reviewed-on: https://go-review.googlesource.com/80935 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Alberto Donizetti <alb.donizetti@gmail.com>
This commit is contained in:
parent
4435fcfd6c
commit
4f5018594d
|
|
@ -708,7 +708,7 @@ func (b *Builder) linkActionID(a *Action) cache.ActionID {
|
|||
fmt.Fprintf(h, "packagemain %s\n", a1.buildID)
|
||||
}
|
||||
if p1.Shlib != "" {
|
||||
fmt.Fprintf(h, "pakageshlib %s=%s\n", p1.ImportPath, contentID(b.buildID(p1.Shlib)))
|
||||
fmt.Fprintf(h, "packageshlib %s=%s\n", p1.ImportPath, contentID(b.buildID(p1.Shlib)))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -924,7 +924,7 @@ func (b *Builder) linkSharedActionID(a *Action) cache.ActionID {
|
|||
if p1 != nil {
|
||||
fmt.Fprintf(h, "packagefile %s=%s\n", p1.ImportPath, contentID(b.buildID(a1.built)))
|
||||
if p1.Shlib != "" {
|
||||
fmt.Fprintf(h, "pakageshlib %s=%s\n", p1.ImportPath, contentID(b.buildID(p1.Shlib)))
|
||||
fmt.Fprintf(h, "packageshlib %s=%s\n", p1.ImportPath, contentID(b.buildID(p1.Shlib)))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue