Skip to content

Commit 4162db4

Browse files
committed
Fix check for arch in verify_system
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent e4848cd commit 4162db4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hack/install.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ fi
3737

3838
verify_system() {
3939

40-
if [ $arch == "armv7l" ]; then
40+
arch=$(uname -m)
41+
if [ "$arch" == "armv7l" ]; then
4142
fatal 'faasd requires a 64-bit Operating System, see: https://github.com/openfaas/faasd/issues/364'
4243
fi
4344

0 commit comments

Comments
 (0)