Using uname for CPU arch
This commit is contained in:
+1
-1
@@ -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,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
|
||||
|
||||
Reference in New Issue
Block a user