From e8fd93cd5bccc90d97233b6e2b21f0fc97c4ad72 Mon Sep 17 00:00:00 2001 From: randymcmillan Date: Thu, 16 Sep 2021 20:19:56 -0400 Subject: [PATCH] up-generic.sh: detect arm64 --- up-generic.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/up-generic.sh b/up-generic.sh index 906800b..41f3994 100755 --- a/up-generic.sh +++ b/up-generic.sh @@ -1,5 +1,13 @@ #This is for internal testing only -: ${ARCH:=$(uname -m)-linux-gnu} +SYSTEM_ARCH=$(uname -m) +if [ "$SYSTEM_ARCH" = arm64 ]; then + ARCH=aarch64-linux-gnu +fi +if [ "$SYSTEM_ARCH" = x86_86 ]; then + ARCH=x86_64-linux-gnu +fi + +: ${ARCH:=$ARCH} : ${bitcoind=10} : ${lnd=10} : ${tor=10}