diff --git a/opensuse-personalizer.sh b/opensuse-personalizer.sh index 3ff000f..9dbc8f6 100755 --- a/opensuse-personalizer.sh +++ b/opensuse-personalizer.sh @@ -273,7 +273,7 @@ esac # x86-64-v3 CPU support detection CPU_FLAGS=$(cat /proc/cpuinfo | grep flags | head -n 1 | cut -d: -f2) if - echo CPU_FLAGS | awk '/avx/&&/avx2/&&/bmi1/&&/bmi2/&&/f16c/&&/fma/&&/abm/&&/movbe/&&/xsave/ {found=1} END {exit !found}' + echo ${CPU_FLAGS} | awk '/avx/&&/avx2/&&/bmi1/&&/bmi2/&&/f16c/&&/fma/&&/abm/&&/movbe/&&/xsave/ {found=1} END {exit !found}' then detected_features+=('x86-64-v3') fi