Closed powellchristoph closed 5 years ago
Thanks for pointing this out! I might try to write a test to cover the install script as well.
Hey @powellchristoph, I've updated the script to account for this. It should detect architecture automatically, but there is also the -d
option to force it. Let me know if it works for you. I was only able to test it on Linux and macOS machines so far, but it should work on most modern POSIX systems.
The readme has been updated with install script details as well.
It looks like your install script doesn't take the architecture of the platform into account when determining the download url and returns all three urls for the
curl
.The
curl
command that is constructed is:curl --progress-bar -JLo "/usr/local/bin/hclq" "https://github.com/mattolenik/hclq/releases/download/0.5.3/hclq-linux-386 https://github.com/mattolenik/hclq/releases/download/0.5.3/hclq-linux-amd64 https://github.com/mattolenik/hclq/releases/download/0.5.3/hclq-linux-arm"