Fix symlink resolution during package build

This commit is contained in:
Elara 2022-12-22 14:18:41 -08:00
parent b36f0638d3
commit 085a11ddef
1 changed files with 1 additions and 0 deletions

View File

@ -427,6 +427,7 @@ func buildPackage(ctx context.Context, script string, mgr manager.Manager) ([]st
if err != nil {
return err
}
link = strings.TrimPrefix(link, pkgdir)
contents = append(contents, &files.Content{
Source: link,