调整版本获取

This commit is contained in:
13038267101 2022-08-09 16:31:09 +08:00
parent 4f29b68c66
commit 5496ef2b4b
1 changed files with 3 additions and 5 deletions

View File

@ -10,11 +10,11 @@ libpath="" #打包时库路径
time2=$(date "+%g%j") #版本控制
dpkgtype="app"
mainverstr="4"
minver="15"
ver3=10
minver=$(cat ../sdk/include/huagao/brand.h |grep VERSION_SUB)
minver=${minver:20}
echo $minver
if [ "$oem" != "hg" ] && [ "$oem" != "lsc" ] && [ "$oem" != "hw" ] && [ "$oem" != ""hgweb ] && [ "$oem" != ""lscweb ] && [ "$oem" != ""hwweb ];
then
@ -171,8 +171,6 @@ fi
if [ "$oem" == "lscweb" ] || [ "$oem" == "hwweb" ] || [ "$oem" == "hgweb" ]; then
cp release/$syspath/$cpu/* dpkg/$syspath/$oem/opt/$dpkgpath/bin
else
mv dpkg/$syspath/$oem/usr/lib/* dpkg/$syspath/$oem/usr/lib/$libpath