Skip to content

Commit

Permalink
fix: ARCH_OVERWRITE null
Browse files Browse the repository at this point in the history
  • Loading branch information
caoer committed May 28, 2024
1 parent 347673a commit 2c56c65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils.bash
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ os_name() {

# arm64, x86_64
arch_name() {
if [ -n "$ARCH_OVERWRITE:-" ]; then
if [ -n "${ARCH_OVERWRITE:-}" ]; then
echo "$ARCH_OVERWRITE"
else
case "$(uname -m)" in
Expand Down

0 comments on commit 2c56c65

Please sign in to comment.