mirror of http://192.168.10.4:8099/sane/dpkg.git
调整版本获取
This commit is contained in:
parent
4f29b68c66
commit
5496ef2b4b
8
build.sh
8
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue