From 60e919802c3ac3f2d2e35e3d144eb3e9a2bf8ec0 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Sat, 21 Jan 2023 11:27:04 -0700 Subject: [PATCH] fix: use curl instead of wget --- script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.sh b/script.sh index e89cb82..3476806 100755 --- a/script.sh +++ b/script.sh @@ -5,7 +5,7 @@ set -u echo '::group:: Installing shellcheck ... https://github.com/koalaman/shellcheck' TEMP_PATH="$(mktemp -d)" cd "${TEMP_PATH}" || exit -wget -qO- "https://github.com/koalaman/shellcheck/releases/download/v${SHELLCHECK_VERSION}/shellcheck-v${SHELLCHECK_VERSION}.linux.x86_64.tar.xz" | tar -xJf - +curl -sL "https://github.com/koalaman/shellcheck/releases/download/v${SHELLCHECK_VERSION}/shellcheck-v${SHELLCHECK_VERSION}.linux.x86_64.tar.xz" | tar -xJf - mkdir bin cp "shellcheck-v$SHELLCHECK_VERSION/shellcheck" ./bin PATH="${TEMP_PATH}/bin:$PATH"