mirror of http://192.168.10.4:8099/sane/dpkg.git
shell
This commit is contained in:
parent
fd9b29ec21
commit
6b1478a1ac
15
build.sh
15
build.sh
|
@ -13,12 +13,7 @@ FIND_FILE="/home/samba/dpkg" #服务器存放打包路径 不可修改
|
|||
dpkgtype="app"
|
||||
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 [ $2 ];
|
||||
then
|
||||
|
@ -152,7 +147,13 @@ git pull
|
|||
cd ../../../sdk
|
||||
git checkout .
|
||||
git pull
|
||||
|
||||
#必须先获取代码
|
||||
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)
|
||||
|
||||
cd ../code_device
|
||||
git checkout .
|
||||
|
|
Loading…
Reference in New Issue