Skip to content

Commit

Permalink
Remove double words: java/java or quarkus/quarkus
Browse files Browse the repository at this point in the history
Signed-off-by: cmoulliard <[email protected]>
  • Loading branch information
cmoulliard committed Sep 5, 2024
1 parent 331257e commit 9a5a855
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/install_buildpack_testing_environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -238,12 +238,12 @@ create-package \

PACKAGE_FILE="${SOURCE_PATH}/package.toml"
if [ -f "${PACKAGE_FILE}" ]; then
cp "${PACKAGE_FILE}" "${COMPILED_BUILDPACK}/java/package.toml"
printf '[buildpack]\nuri = "%s"\n\n[platform]\nos = "%s"\n' "${COMPILED_BUILDPACK}/java" "${OS}" >> "${COMPILED_BUILDPACK}/java/package.toml"
cp "${PACKAGE_FILE}" "${COMPILED_BUILDPACK}/package.toml"
printf '[buildpack]\nuri = "%s"\n\n[platform]\nos = "%s"\n' "${COMPILED_BUILDPACK}" "${OS}" >> "${COMPILED_BUILDPACK}/package.toml"
fi

# create-package puts the buildpack here, we need to run from that directory
cd "${COMPILED_BUILDPACK}/java"
cd "${COMPILED_BUILDPACK}"

print::colored_msg "${CYAN}" "Show buildpack.toml content for java buildpack"
cat buildpack.toml
Expand All @@ -268,10 +268,10 @@ COMPILED_BUILDPACK="${HOME}/buildpack/quarkus"

create-package \
--source "${SOURCE_PATH}" \
--destination "${COMPILED_BUILDPACK}/quarkus" \
--destination "${COMPILED_BUILDPACK}" \
--version "${VERSION}"

cd "${COMPILED_BUILDPACK}/quarkus"
cd "${COMPILED_BUILDPACK}"

print::colored_msg "${CYAN}" "Show buildpack.toml content for Quarkus buildpack"
cat buildpack.toml
Expand Down

0 comments on commit 9a5a855

Please sign in to comment.