mirror of http://192.168.10.4:8099/sane/dpkg.git
build.sh
This commit is contained in:
parent
74edd4a984
commit
c7e6da5409
6
build.sh
6
build.sh
|
@ -44,6 +44,10 @@ if [ ${oem:0-2:2} == "so" ] || [ ${oem:0-2:2} == "sm" ];
|
||||||
then
|
then
|
||||||
sanelibname="${oem%${oem:0-2:2}*}"
|
sanelibname="${oem%${oem:0-2:2}*}"
|
||||||
echo $sanelibname
|
echo $sanelibname
|
||||||
|
elif [ ${oem:0-3:3} == "web" ];
|
||||||
|
then
|
||||||
|
sanelibname="${oem%${oem:0-3:3}*}"
|
||||||
|
echo $sanelibname
|
||||||
else
|
else
|
||||||
sanelibname=$oem
|
sanelibname=$oem
|
||||||
echo $sanelibname
|
echo $sanelibname
|
||||||
|
@ -74,7 +78,9 @@ function appbuild()
|
||||||
git -C ../code_app pull
|
git -C ../code_app pull
|
||||||
|
|
||||||
echo "-----------------------------start code_device build-----------------------------"
|
echo "-----------------------------start code_device build-----------------------------"
|
||||||
|
|
||||||
./../code_device/build.sh $sanelibname
|
./../code_device/build.sh $sanelibname
|
||||||
|
|
||||||
echo "-----------------------------over code_device build-----------------------------"
|
echo "-----------------------------over code_device build-----------------------------"
|
||||||
|
|
||||||
if [ $? -ne 0 ];then
|
if [ $? -ne 0 ];then
|
||||||
|
|
Loading…
Reference in New Issue