diff --git a/bin/fetch-configlet b/bin/fetch-configlet index 4f64c5b9..c39a0402 100755 --- a/bin/fetch-configlet +++ b/bin/fetch-configlet @@ -26,7 +26,7 @@ case $(uname -m) in echo 64bit;; esac) -VERSION="$(curl --head --silent $LATEST | awk -v FS=/ '/Location:/{print $NF}' | tr -d '\r')" +VERSION="$(curl --head --silent $LATEST | awk -v IGNORECASE=1 -v FS=/ '/Location:/{print $NF}' | tr -d '\r')" URL=https://github.com/exercism/configlet/releases/download/$VERSION/configlet-$OS-${ARCH}.tgz curl -s --location $URL | tar xz -C bin/