diff --git a/init.sh b/init.sh index ea3482da6edefcb13fbd063ab423bf52f6663e2f..58e95419be8986c904f05982c03d4dadbbff7f7d 100644 --- a/init.sh +++ b/init.sh @@ -28,8 +28,8 @@ export CHECK_ROOT=${CUR_PATH}/package/common/check_root.sh export kp=neon ifsme=`lscpu|grep sme` ifsve=`lscpu|grep sve` -ifneon=`lscpu|grep neon` -variable="some value" +ifneon=`lscpu|grep asimd` + if [ -n "$ifsme" ]; then kp=sme elif [ -n "$ifsve" ]; then