Skip to content

Commit

Permalink
Merge pull request #370 from openshift-cherrypick-robot/cherry-pick-3…
Browse files Browse the repository at this point in the history
…69-to-release-4.14

[release-4.14] OCPBUGS-23006: Add -p flag to cp command to preserve timestamps
  • Loading branch information
openshift-merge-bot[bot] committed Nov 7, 2023
2 parents d587102 + 8d9ddd3 commit 720efaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/build/builder/source.go
Expand Up @@ -365,7 +365,7 @@ func copyImageSourceFromFilesytem(sourceDir, destDir string) error {
}
}

args := []string{"-r"}
args := []string{"-r", "-p"}
if log.Is(5) {
args = append(args, "-v")
}
Expand Down

0 comments on commit 720efaa

Please sign in to comment.