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 7bf1934 commit 309d1c9Copy full SHA for 309d1c9
modules/s2i/bash/artifacts/opt/jboss/container/java/s2i/maven-s2i-overrides
@@ -29,7 +29,12 @@ function maven_s2i_custom_binary_build() {
29
binary_dir="${S2I_SOURCE_DIR}"
30
fi
31
log_info "Copying binaries from ${binary_dir} to ${S2I_TARGET_DEPLOYMENTS_DIR} ..."
32
- rsync --archive --out-format='%n' "${binary_dir}"/ "${S2I_TARGET_DEPLOYMENTS_DIR}"
+
33
+ ( # OPENJDK-2850: use glob (dotglob to match hidden files) to stop rsync altering
34
+ # timestamps of S2I_TARGET_DEPLOYMENTS_DIR. Don't alter parent shell's dotglob.
35
+ shopt -s dotglob
36
+ rsync --archive --out-format='%n' "${binary_dir}"/* "${S2I_TARGET_DEPLOYMENTS_DIR}"
37
+ )
38
}
39
40
function maven_s2i_deploy_artifacts_override() {
0 commit comments