diff --git a/build.sh b/build.sh index a6ca68c..9c07021 100755 --- a/build.sh +++ b/build.sh @@ -25,7 +25,7 @@ echo "$password" sleep 1 if [ "$oem" != "hg" ] && [ "$oem" != "lsc" ] && [ "$oem" != "hw" ] && [ "$oem" != "hgweb" ] && [ "$oem" != "lscweb" ] && [ "$oem" != "hwweb" ] && [ "$oem" != "hgso" ] && [ "$oem" != "lscso" ] && [ "$oem" != "hwso" ] && [ "$oem" != "lscsm" ]; then - echo "参数错误!!!" + echo "参数错误:$oem!!!" echo "参数:华高:hg || hgweb 立思层:lsc || lscweb 汉王:hw || hwweb" exit 1 fi @@ -116,7 +116,7 @@ syspath="kylin" fi -if [ "$oem" == "lsc" ] || [ "$oem" == "lscweb" ] || [ "$oem" == "lscso" ];then +if [ "$oem" == "lsc" ] || [ "$oem" == "lscweb" ] || [ "$oem" == "lscso" ] || [ "$oem" == "lscsm" ];then ver3=14 elif [ "$oem" == "hw" ] || [ "$oem" == "hwweb" ] || [ "$oem" == "hwso" ];then ver3=16 @@ -166,7 +166,7 @@ if [ "$oem" == "hgso" ] ;then ./build.sh hg elif [ "$oem" == "hwso" ];then ./build.sh hw -elif [ "$oem" == "lscso" ];then +elif [ "$oem" == "lscso" ] || [ "$oem" == "lscsm" ];then ./build.sh lsc else ./build.sh $oem @@ -187,7 +187,7 @@ if [ "$oem" == "hgso" ] ;then ./build.sh hg elif [ "$oem" == "hwso" ];then ./build.sh hw -elif [ "$oem" == "lscso" ];then +elif [ "$oem" == "lscso" ] || [ "$oem" == "lscsm" ];then ./build.sh lsc fi