fix(bootstrap): fix shellcheck warnings, arch bug, and update gum

- Fix sprout i686 arch mapping: 'x86' → '386' to match artifact URLs
- Add PATH export to sprout script (consistency with farmer)
- Fix SC2207 shellcheck warnings in farmer (quote command substitutions)
- Update gum from v0.11.0 to v0.17.0
This commit is contained in:
2026-02-25 08:01:25 +00:00
parent bcc1c546b4
commit b5e649b6e5
2 changed files with 8 additions and 7 deletions

View File

@@ -1,5 +1,6 @@
#!/usr/bin/env bash
set -e -o pipefail
export PATH=$PATH:/usr/local/bin:/usr/sbin:/usr/bin
arch=$(uname -m)
@@ -8,7 +9,7 @@ case $arch in
machine_arch="amd64"
;;
"i686"|"i386")
machine_arch="x86"
machine_arch="386"
;;
"aarch64"|"arm64"|"armv8")
machine_arch="arm64"