diff --git a/src/usr/local/buildpack/tools/composer.sh b/src/usr/local/buildpack/tools/composer.sh index 868e122cf..a8421d745 100644 --- a/src/usr/local/buildpack/tools/composer.sh +++ b/src/usr/local/buildpack/tools/composer.sh @@ -5,7 +5,7 @@ set -e check_command php -if [[ "${TOOL_VERSION}" -eq "latest" ]]; then +if [[ "${TOOL_VERSION}" == "latest" ]]; then export "TOOL_VERSION=$(curl -s https://api.github.com/repos/composer/composer/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")')" fi diff --git a/src/usr/local/buildpack/tools/elixir.sh b/src/usr/local/buildpack/tools/elixir.sh index 6142baae0..3b2d55cce 100644 --- a/src/usr/local/buildpack/tools/elixir.sh +++ b/src/usr/local/buildpack/tools/elixir.sh @@ -7,7 +7,7 @@ check_command erl curl -sSL https://github.com/elixir-lang/elixir/releases/download/v${TOOL_VERSION}/Precompiled.zip -o elixir.zip mkdir -p /usr/local/elixir/ -unzip elixir.zip -d /usr/local/elixir/ +unzip -q elixir.zip -d /usr/local/elixir/ rm elixir.zip export_path "/usr/local/elixir/bin" diff --git a/src/usr/local/buildpack/tools/gradle.sh b/src/usr/local/buildpack/tools/gradle.sh index 09b6964a9..4561b5665 100644 --- a/src/usr/local/buildpack/tools/gradle.sh +++ b/src/usr/local/buildpack/tools/gradle.sh @@ -6,7 +6,7 @@ require_root check_command java curl -sL -o gradle.zip https://services.gradle.org/distributions/gradle-${TOOL_VERSION}-bin.zip -unzip -d /usr/local gradle.zip +unzip -q -d /usr/local gradle.zip rm gradle.zip export_path "/usr/local/gradle-${TOOL_VERSION}/bin" diff --git a/src/usr/local/buildpack/tools/terraform.sh b/src/usr/local/buildpack/tools/terraform.sh index 9e0f3eacd..df61af0c2 100644 --- a/src/usr/local/buildpack/tools/terraform.sh +++ b/src/usr/local/buildpack/tools/terraform.sh @@ -13,7 +13,7 @@ DISTRO=linux_amd64 URL=https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_${DISTRO}.zip curl -sL $URL -o tmp.zip -unzip -d /usr/local/bin/ tmp.zip +unzip -q -d /usr/local/bin/ tmp.zip rm tmp.zip terraform version