mirror of
https://github.com/gogrlx/bootstrap.grlx.dev.git
synced 2026-04-02 02:59:05 -07:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user