From 80d1722c85215884ca67f183086177abec5832a4 Mon Sep 17 00:00:00 2001 From: kaiokassiano Date: Wed, 25 Apr 2018 10:26:14 -0300 Subject: [PATCH] Fix syntax error A white space was missing in the conditional check, causing the script never able to execute. --- cpu2006express.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu2006express.sh b/cpu2006express.sh index 5a664c9..46558aa 100755 --- a/cpu2006express.sh +++ b/cpu2006express.sh @@ -222,7 +222,7 @@ ARCH=$(uname -m | sed 's/x86_//;s/i[3-6]86/32/') ############################################################ # If it is an ARM system ############################################################ -if [[ $ARCH == *'aarch64'* || $ARCH == *'arm'*]]; then +if [[ $ARCH == *'aarch64'* || $ARCH == *'arm'* ]]; then # Get the ARM version number ARM_V=$(echo "$ARCH" | sed 's/armv//g' | sed 's/[^0-9]*//g') # If ARMv8 or greater, set to 62 bit