#!/bin/bash ARCH=$(lscpu | awk -F ':' 'NR==1 {print $NF}' | tr -d ' ') if [[ "$ARCH" == "x86_64" ]]; then ./cortile-x86 fi if [[ "$ARCH" == "aarch64" ]]; then ./cortile-arm64 fi