You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[OPENJDK-3975] refactor rsync calls into common function
Refactor the three rsync calls into a common function, adopting
the fix from OPENJDK-2850 to avoid trying to change the permissions
on destination directories.
Signed-off-by: Jonathan Dowland <[email protected]>
# $1 - the base directory to which $S2I_SOURCE_CONFIGURATION_DIR is appended
46
60
function s2i_core_copy_configuration() {
@@ -53,7 +67,7 @@ function s2i_core_copy_configuration() {
53
67
mkdir -pm 775 "${S2I_TARGET_CONFIGURATION_DIR}"
54
68
fi
55
69
log_info "Copying configuration from $(realpath --relative-to ${S2I_SOURCE_DIR} ${1}/${S2I_SOURCE_CONFIGURATION_DIR}) to ${S2I_TARGET_CONFIGURATION_DIR}..."
0 commit comments