mirror of
https://github.com/wnlen/clash-for-linux.git
synced 2026-03-21 22:06:45 +08:00
The `}` in `{arch}` prematurely closes the `${...:-...}` parameter
expansion, causing the default URL to be truncated to
`clash-{arch.gz}` instead of `clash-{arch}.gz`. The subsequent
`{arch}` replacement then fails silently.
Extract the default URL into a separate variable to avoid the
nested brace conflict.