diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index a8bb014b..3f8122cd 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -1199,11 +1199,11 @@ FTLdetect() { local machine local binary - machine=$(arch) + machine=$(uname -m) if [[ $machine == arm* || $machine == *aarch* ]]; then # ARM - local rev=$(arch | sed "s/[^0-9]//g;") + local rev=$(uname -m | sed "s/[^0-9]//g;") local lib=$(ldd /bin/ls | grep -E '^\s*/lib' | awk '{ print $1 }') if [[ "$lib" == "/lib/ld-linux-aarch64.so.1" ]]; then echo "::: Detected ARM-aarch64 architecture"