This commit is contained in:
13038267101 2022-08-29 17:54:02 +08:00
parent 05f53cc6be
commit 0206604405
1 changed files with 7 additions and 4 deletions

View File

@ -6,12 +6,16 @@ dpkgpath="" #打包路径
dpkgarch="" #打包时的版本 dpkgarch="" #打包时的版本
libname="" #动态库名字 libname="" #动态库名字
libpath="" #打包时库路径 libpath="" #打包时库路径
time2=$(date "+%g%j") #版本控制 time2=$(date "+%g%j") #版本控制
dpkgtype="app" dpkgtype="app"
mainverstr="4"
ver3=10 ver3=10
mainverstr=$(cat ../sdk/include/huagao/brand.h |grep VERSION_MAIN)
mainverstr=${mainverstr: -2}
mainverstr=$(echo $mainverstr)
minver=$(cat ../sdk/include/huagao/brand.h |grep VERSION_SUB)
minver=${minver: -2}
minver=$(echo $minver)
if [ "$oem" != "hg" ] && [ "$oem" != "lsc" ] && [ "$oem" != "hw" ] && [ "$oem" != ""hgweb ] && [ "$oem" != ""lscweb ] && [ "$oem" != ""hwweb ]; if [ "$oem" != "hg" ] && [ "$oem" != "lsc" ] && [ "$oem" != "hw" ] && [ "$oem" != ""hgweb ] && [ "$oem" != ""lscweb ] && [ "$oem" != ""hwweb ];
@ -143,8 +147,7 @@ if [ $? -ne 0 ];then
exit 1 exit 1
fi fi
minver=$(cat ../sdk/include/huagao/brand.h |grep VERSION_SUB)
minver=${minver: -2}
echo $minver echo $minver
echo "3rd version replacing pattern: "${ver3} echo "3rd version replacing pattern: "${ver3}
echo $dpkgpath echo $dpkgpath