Skip to content
Permalink
Browse files
fix(stapel): importing of symlink that points to directory does not w…
…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 835260f07bf43d79ccc0d5943907bbc2be32fdfd
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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 {

0 comments on commit 835260f

Please sign in to comment.