From a67660803853c47343c3624fbd176b4994d4b737 Mon Sep 17 00:00:00 2001 From: DFRJ Date: Thu, 25 Sep 2025 06:52:07 +0000 Subject: [PATCH] update init.sh. Signed-off-by: DFRJ --- init.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.sh b/init.sh index ea3482d..58e9541 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 -- Gitee