Skip to content

Commit

Permalink
OCPBUGS-22497: Add -p flag to cp command to preserve timestamps
Browse files Browse the repository at this point in the history
  • Loading branch information
coreydaley authored and openshift-cherrypick-robot committed Nov 7, 2023
1 parent d587102 commit 8d9ddd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/build/builder/source.go
Original file line number Diff line number Diff line change
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 8d9ddd3

Please sign in to comment.