mirror of http://192.168.10.4:8099/sane/dpkg.git
build
This commit is contained in:
parent
6a2b1ce37d
commit
8bfdcfa3a5
17
build.sh
17
build.sh
|
@ -12,9 +12,7 @@ dpkgtype="app"
|
|||
mainverstr="4"
|
||||
ver3=10
|
||||
|
||||
minver=$(cat ../sdk/include/huagao/brand.h |grep VERSION_SUB)
|
||||
minver=${minver: -2}
|
||||
echo $minver
|
||||
|
||||
|
||||
if [ "$oem" != "hg" ] && [ "$oem" != "lsc" ] && [ "$oem" != "hw" ] && [ "$oem" != ""hgweb ] && [ "$oem" != ""lscweb ] && [ "$oem" != ""hwweb ];
|
||||
then
|
||||
|
@ -118,11 +116,6 @@ else
|
|||
ver3=$[$ver3 + 10]
|
||||
fi
|
||||
|
||||
echo "3rd version replacing pattern: "${ver3}
|
||||
echo $dpkgpath
|
||||
ver="$mainverstr.$minver.$ver3.$time2"
|
||||
echo $ver
|
||||
|
||||
cd ../release/$syspath/$cpu/
|
||||
rm * -R
|
||||
git checkout .
|
||||
|
@ -150,6 +143,14 @@ 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
|
||||
ver="$mainverstr.$minver.$ver3.$time2"
|
||||
echo $ver
|
||||
|
||||
Version="Version: $ver"
|
||||
Architecture="Architecture: $dpkgarch"
|
||||
packagename="package: $dpkgpath"
|
||||
|
|
Loading…
Reference in New Issue