diff --git a/build.sh b/build.sh index f2fc98f..787617a 100755 --- a/build.sh +++ b/build.sh @@ -71,11 +71,7 @@ cd "$SCRIPT_DIR" mkdir -p "${EXE_DIR}" -BUILDSTR="amd64" - -if [ ! -z "$1" ]; then - BUILDSTR="$1" -fi +BUILDSTR="${1:-amd64}" if [ "$BUILDSTR" = "all" ] || [ "$BUILDSTR" = "arm64" ]; then title "Building linux-arm64 executable"