Skip to content

Commit

Permalink
fix(stapel): importing of symlink that points to directory does not w…
Browse files Browse the repository at this point in the history
…ork properly

The checksum was calculated incorrectly and reassembly did not take place when the files were changed.

Signed-off-by: Alexey Igrychev <alexey.igrychev@flant.com>
  • Loading branch information
alexey-igrychev committed Jul 21, 2022
1 parent 09a3fb2 commit 835260f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/build/stage/dependencies.go
Expand Up @@ -325,7 +325,7 @@ func (s *DependenciesStage) generateImportChecksum(ctx context.Context, c Convey
}

func generateChecksumCommand(from string, includePaths, excludePaths []string, resultChecksumPath string) string {
findCommandParts := append([]string{}, stapel.FindBinPath(), from, "-type", "f")
findCommandParts := append([]string{}, stapel.FindBinPath(), "-H", from, "-type", "f")

var nameIncludeArgs []string
for _, includePath := range includePaths {
Expand Down

0 comments on commit 835260f

Please sign in to comment.