This commit is contained in:
modehua 2023-06-20 13:46:44 +08:00
parent 11f27c1869
commit 609ce7157b
1 changed files with 6 additions and 3 deletions

View File

@ -92,9 +92,9 @@ function appbuild()
git -C ../sdk checkout .
git -C ../sdk pull
git -C ../code_device clean -df
git -C ../code_device checkout .
git -C ../code_device pull
#git -C ../code_device clean -df
#git -C ../code_device checkout .
#git -C ../code_device pull
git -C ../code_app clean -df
git -C ../code_app checkout .
@ -466,8 +466,10 @@ else
cp -rf release/$syspath/$cpu/* dpkg/$dpkgtype/$oem/opt/apps/$dpkgpath/files/lib
mv dpkg/$dpkgtype/$oem/opt/apps/$dpkgpath/files/lib/*App dpkg/$dpkgtype/$oem/opt/apps/$dpkgpath/files/bin
mv dpkg/$dpkgtype/$oem/opt/apps/$dpkgpath/files/lib/*OCR dpkg/$dpkgtype/$oem/opt/apps/$dpkgpath/files/bin
mv dpkg/$dpkgtype/$oem/opt/apps/$dpkgpath/files/lib/*Scan dpkg/$dpkgtype/$oem/opt/apps/$dpkgpath/files/bin
if [ $? != 0 ];
then
echo "-----------------cp fail-----------------"
@ -477,6 +479,7 @@ else
else
cp -rf release/$syspath/$cpu/* dpkg/$dpkgtype/$oem/opt/apps/$dpkgpath/lib
mv dpkg/$dpkgtype/$oem/opt/apps/$dpkgpath/lib/*App dpkg/$dpkgtype/$oem/opt/apps/$dpkgpath/bin
mv dpkg/$dpkgtype/$oem/opt/apps/$dpkgpath/lib/*OCR dpkg/$dpkgtype/$oem/opt/apps/$dpkgpath/bin
mv dpkg/$dpkgtype/$oem/opt/apps/$dpkgpath/lib/*Scan dpkg/$dpkgtype/$oem/opt/apps/$dpkgpath/bin
if [ $? != 0 ];