diff --git a/etc/scripts/get-stack.sh b/etc/scripts/get-stack.sh index 1923cca2ad..0291913d35 100755 --- a/etc/scripts/get-stack.sh +++ b/etc/scripts/get-stack.sh @@ -71,9 +71,9 @@ post_install_separator() { # determines the the CPU's instruction set get_isa() { - if arch | grep -Eq 'armv[78]l?' ; then + if uname -m | grep -Eq 'armv[78]l?' ; then echo arm - elif arch | grep -q aarch64 ; then + elif uname -m | grep -q aarch64 ; then echo aarch64 else echo x86