From 5496ef2b4b1596dc957872069a1fd691be4e1146 Mon Sep 17 00:00:00 2001 From: 13038267101 Date: Tue, 9 Aug 2022 16:31:09 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=89=88=E6=9C=AC=E8=8E=B7?= =?UTF-8?q?=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/build.sh b/build.sh index 47d422c..204ec27 100755 --- a/build.sh +++ b/build.sh @@ -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