From c0043da5cb49fbb340a368801609022a8911d71c Mon Sep 17 00:00:00 2001 From: Jake Date: Sun, 17 Jan 2021 02:20:46 +0100 Subject: [PATCH] Replace `arch` with `uname -m` https://www.gnu.org/software/coreutils/manual/html_node/arch-invocation.html --- tools/config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/config.sh b/tools/config.sh index 06080f23d..6fcade08f 100755 --- a/tools/config.sh +++ b/tools/config.sh @@ -38,7 +38,7 @@ AR_GEN_PART_PY="$AR_TOOLS/gen_esp32part.py" AR_SDK="$AR_TOOLS/sdk" function get_os(){ - OSBITS=`arch` + OSBITS=`uname -m` if [[ "$OSTYPE" == "linux"* ]]; then if [[ "$OSBITS" == "i686" ]]; then echo "linux32"