I found this bug when trying to install Clojure on my computer that is in Portuguese.
When running the linux-install.sh it was failing silently with -1
I tried to download the tar and do the checksum manually, with this i discovered that the
echo "77dd6868948074adcc93e83a796f8e8f15a1a92bcb1b9002d715fd2210e476f3 clojure-tools-1.12.5.1664.tar.gz" | sha256sum -c
part was printing clojure-tools-1.12.5.1664.tar.gz: SUCESSO, making the grep "^clojure-tools-1.12.5.1664.tar.gz: OK$ fail.
I solved the problem by using LC_ALL=C sudo ./linux-install.sh
Relevant information:
OS: Fedora Linux 44 KDE
Locale: pt_BR.UTF-8