From a5f5113e9ae2e65ccaef3c3846251b6e5d790b6e Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Tue, 4 Oct 2022 15:44:15 +0530 Subject: [PATCH] Typo in bash case --- installer/bootstrap/bootstrap.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/installer/bootstrap/bootstrap.sh b/installer/bootstrap/bootstrap.sh index bc7a353f..168c81ed 100755 --- a/installer/bootstrap/bootstrap.sh +++ b/installer/bootstrap/bootstrap.sh @@ -6,15 +6,15 @@ OS_NAME=$(uname -s) case "${OS_NAME}" in - Linux*) OS_NAME="linux" - Darwin*) OS_NAME="mac" + Linux*) OS_NAME="linux";; + Darwin*) OS_NAME="mac";; *) echo "Unknown OS: $OS_NAME! This only runs on Linux or Mac" && exit esac OS_ARCH=$(uname -m) case "${OS_ARCH}" in - x86_64*) OS_ARCH="x64" - arm64*) OS_ARCH="arm64" + x86_64*) OS_ARCH="x64";; + arm64*) OS_ARCH="arm64";; *) echo "Unknown system architecture: $OS_ARCH! This only runs on x86_64 or arm64" && exit esac