We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be9e76d commit 347382cCopy full SHA for 347382c
modules/s2i/bash/artifacts/opt/jboss/container/java/s2i/maven-s2i-overrides
@@ -28,7 +28,12 @@ function maven_s2i_custom_binary_build() {
28
binary_dir="${S2I_SOURCE_DIR}"
29
fi
30
log_info "Copying binaries from ${binary_dir} to ${S2I_TARGET_DEPLOYMENTS_DIR} ..."
31
- rsync --archive --out-format='%n' "${binary_dir}"/ "${S2I_TARGET_DEPLOYMENTS_DIR}"
+
32
+ ( # OPENJDK-2850: use glob (dotglob to match hidden files) to stop rsync altering
33
+ # timestamps of S2I_TARGET_DEPLOYMENTS_DIR. Don't alter parent shell's dotglob.
34
+ shopt -s dotglob
35
+ rsync --archive --out-format='%n' "${binary_dir}"/* "${S2I_TARGET_DEPLOYMENTS_DIR}"
36
+ )
37
}
38
39
function maven_s2i_deploy_artifacts_override() {
0 commit comments