From a75826e5357768488a6c5db68f2b072f94451af7 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 30 May 2025 21:33:03 +1200 Subject: [PATCH] :-'Generic Commit' --- build.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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"