spawn/shared
A 184bc21b3a
fix: replace printf -v with export for bash 3.2 compat in key-request.sh (#1561)
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>
2026-02-21 06:42:14 -05:00
..
common.sh fix: allow space in token validation regex for FlyV1 prefixed tokens (#1560) 2026-02-21 10:48:53 +00:00
github-auth.sh fix: persist gh auth credentials for interactive sessions (#1491) 2026-02-19 19:30:44 -05:00
key-request.sh fix: replace printf -v with export for bash 3.2 compat in key-request.sh (#1561) 2026-02-21 06:42:14 -05:00