Skip to content

Commit

Permalink
Update modules/kogito-swf/common/scripts/added/build-app.sh
Browse files Browse the repository at this point in the history
Co-authored-by: Tristan Radisson <[email protected]>
  • Loading branch information
davidesalerno and radtriste committed Aug 30, 2023
1 parent c4c0e84 commit 73d7476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/kogito-swf/common/scripts/added/build-app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fi
SUPPORTED_FILES=(".yaml" ".yml" ".json" ".properties" ".mvn/jvm.config")
log_info "-> Copying files from ${resources_path}, if any..."
if [ ! -z "${resources_path}" ]; then
swf_home_dir=$(pwd) && cd "${resources_path}" && find . -regex '.*\.\(yaml\|yml\|json\|properties\)$' | sed 's|^./||' | xargs cp -v --parents -t "${swf_home_dir}"/src/main/resources/ && cd "${swf_home_dir}"
cd "${resources_path}" && find . -regex '.*\.\(yaml\|yml\|json\|properties\)$' | sed 's|^./||' | xargs cp -v --parents -t "${swf_home_dir}"/src/main/resources/ && cd -
find "${resources_path}" -name 'jvm.config' -exec echo "--> found {}" \; -exec mkdir -p .mvn \; -exec cp -v {} .mvn/ \;
else
log_warning "-> Nothing to copy from ${resources_path}"
Expand Down

0 comments on commit 73d7476

Please sign in to comment.