This commit is contained in:
modehua 2023-01-14 16:35:55 +08:00
parent 74edd4a984
commit c7e6da5409
1 changed files with 6 additions and 0 deletions

View File

@ -44,6 +44,10 @@ if [ ${oem:0-2:2} == "so" ] || [ ${oem:0-2:2} == "sm" ];
then
sanelibname="${oem%${oem:0-2:2}*}"
echo $sanelibname
elif [ ${oem:0-3:3} == "web" ];
then
sanelibname="${oem%${oem:0-3:3}*}"
echo $sanelibname
else
sanelibname=$oem
echo $sanelibname
@ -74,7 +78,9 @@ function appbuild()
git -C ../code_app pull
echo "-----------------------------start code_device build-----------------------------"
./../code_device/build.sh $sanelibname
echo "-----------------------------over code_device build-----------------------------"
if [ $? -ne 0 ];then