mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-09 11:10:10 +00:00
printf -v requires bash 4.0+; macOS ships bash 3.2, causing _try_load_env_var() to fail with 'printf: -v: invalid option' and breaking saved API key loading for all cloud providers. Both var_name and val are validated against strict regexes immediately above, so export "NAME=VALUE" is injection-safe and works on bash 3.2+. The macos-compat linter already flags this pattern as MC013 error. Agent: team-lead Co-authored-by: B <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| common.sh | ||
| github-auth.sh | ||
| key-request.sh | ||