Skip to content

Commit 76fb69e

Browse files
committed
Adjust install line to reflect only one file
This line originates in ubi9 branch where there are two files in the source (save-artifacts and assemble). When there is only one file, as in the ubi10 branch, the install command copies it to the destination path instead of _underneath_ it. Signed-off-by: Jonathan Dowland <[email protected]>
1 parent e8f75ea commit 76fb69e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/maven/s2i/configure.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ set -euo pipefail
44
SCRIPT_DIR=$(dirname $0)
55
ARTIFACTS_DIR=${SCRIPT_DIR}/artifacts
66

7-
install -D ${ARTIFACTS_DIR}/usr/libexec/s2i/* /usr/libexec/s2i
7+
install -D {${ARTIFACTS_DIR},}/usr/libexec/s2i/save-artifacts
88
install -m 0644 -D -t /opt/jboss/container/maven/s2i \
99
${ARTIFACTS_DIR}/opt/jboss/container/maven/s2i/*

0 commit comments

Comments
 (0)