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