mirror of http://192.168.10.4:8099/sane/dpkg.git
get
This commit is contained in:
parent
05f53cc6be
commit
0206604405
11
build.sh
11
build.sh
|
@ -6,12 +6,16 @@ dpkgpath="" #打包路径
|
|||
dpkgarch="" #打包时的版本
|
||||
libname="" #动态库名字
|
||||
libpath="" #打包时库路径
|
||||
|
||||
time2=$(date "+%g%j") #版本控制
|
||||
dpkgtype="app"
|
||||
mainverstr="4"
|
||||
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 ];
|
||||
|
@ -143,8 +147,7 @@ if [ $? -ne 0 ];then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
minver=$(cat ../sdk/include/huagao/brand.h |grep VERSION_SUB)
|
||||
minver=${minver: -2}
|
||||
|
||||
echo $minver
|
||||
echo "3rd version replacing pattern: "${ver3}
|
||||
echo $dpkgpath
|
||||
|
|
Loading…
Reference in New Issue