From 4162db43ff317c350206c47977ce376326a6b775 Mon Sep 17 00:00:00 2001 From: "Alex Ellis (OpenFaaS Ltd)" Date: Wed, 12 Jun 2024 10:54:18 +0100 Subject: [PATCH] Fix check for arch in verify_system Signed-off-by: Alex Ellis (OpenFaaS Ltd) --- hack/install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hack/install.sh b/hack/install.sh index e070f80..d7c475b 100755 --- a/hack/install.sh +++ b/hack/install.sh @@ -37,7 +37,8 @@ fi verify_system() { - if [ $arch == "armv7l" ]; then + arch=$(uname -m) + if [ "$arch" == "armv7l" ]; then fatal 'faasd requires a 64-bit Operating System, see: https://github.com/openfaas/faasd/issues/364' fi