diff --git a/build.sh b/build.sh index 0690f6e..87a1694 100755 --- a/build.sh +++ b/build.sh @@ -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