Skip to content

Commit e0704ac

Browse files
Bikappaper1234
authored and
Luca Bianconi
committed
Update legacy/builder/phases/core_builder.go
Co-authored-by: per1234 <[email protected]>
1 parent 90cb2ee commit e0704ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

legacy/builder/phases/core_builder.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ func compileCore(ctx *types.Context, buildPath *paths.Path, buildCachePath *path
122122
// archive core.a
123123
if targetArchivedCore != nil && !ctx.OnlyUpdateCompilationDatabase {
124124
err := archiveFile.CopyTo(targetArchivedCore)
125-
buildcache.GetOrCreate(targetArchivedCore.Parent().Parent(), targetArchivedCore.Base())
125+
buildcache.GetOrCreate(targetArchivedCore.Parent().Parent(), targetArchivedCore.Parent().Base())
126126
if ctx.Verbose {
127127
if err == nil {
128128
ctx.Info(tr("Archiving built core (caching) in: %[1]s", targetArchivedCore))

0 commit comments

Comments
 (0)