Skip to content

Commit

Permalink
Fix configlet fetching (#343)
Browse files Browse the repository at this point in the history
Fix #342
  • Loading branch information
kappa authored May 3, 2020
1 parent fde3d62 commit d11f268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/fetch-configlet
Original file line number Diff line number Diff line change
Expand Up @@ -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/

0 comments on commit d11f268

Please sign in to comment.