Using uname for CPU arch

This commit is contained in:
Michael Hansen
2019-12-07 08:52:32 -05:00
parent 6d3181f0a7
commit dac5fbe6f2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ fi
# -----------------------------------------------------------------------------
# CPU architecture
CPU_ARCH="$(python3 -c 'import platform; print(platform.machine())')"
CPU_ARCH="$(uname --m)"
case "${CPU_ARCH}" in
x86_64)
FRIENDLY_ARCH=amd64
+1 -1
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
this_dir="$( cd "$( dirname "$0" )" && pwd )"
cpu_arch="$(python3 -c 'import platform; print(platform.machine())')"
cpu_arch=$(uname --m)
# -----------------------------------------------------------------------------
# Command-line Arguments