Skip to content

linux-install.sh fails silently on non-English locales#11

Open
rptfrg wants to merge 1 commit intoclojure:1.12.4from
rptfrg:patch-1
Open

linux-install.sh fails silently on non-English locales#11
rptfrg wants to merge 1 commit intoclojure:1.12.4from
rptfrg:patch-1

Conversation

@rptfrg
Copy link
Copy Markdown

@rptfrg rptfrg commented May 4, 2026

I know that this project doesn't take PRs, but I couldn't figure out where to submit this as a bug, sorry!
UPD: I realize now I probably should've submitted this to ask.closure.org, correct?


The linux-install.sh script fails silently when run on systems with non-English locales (e.g., ru_RU).

The script uses set -e and pipes sha256sum -c into grep "^...: OK$". On localized systems, sha256sum translates OK (e.g., OK becomes ЦЕЛ), causing grep to fail.

Use LC_ALL=C to ensure sha256sum output matches the grep pattern, preventing script termination on localized systems (e.g. Russian).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant