From 02eec6a38d925e6d027b8bbfec69a783ebfa2281 Mon Sep 17 00:00:00 2001 From: modehua Date: Mon, 6 Feb 2023 15:38:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BD=BB=E5=BA=95=E8=A7=A3=E5=86=B3=E7=AB=8B?= =?UTF-8?q?=E6=80=9D=E8=BE=B0=E7=A7=81=E5=AF=86=E6=89=93=E5=8C=85=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index 27399dc..93c7e7e 100755 --- a/build.sh +++ b/build.sh @@ -326,12 +326,12 @@ cd .. ############## ##############进行copy语言包 - +cp -rf release/lang release/$syspath/$cpu ##############lsc不替换 if [ "$oem" != "lscsm" ]; then - cp -rf release/lang release/$syspath/$cpu + sed -i "1s/.*/$packagename/g" dpkg/$syspath/$oem/DEBIAN/control sed -i "2s/.*/$Version/g" dpkg/$syspath/$oem/DEBIAN/control fi @@ -392,7 +392,7 @@ then cp sdk/include/scannerlib/* dpkg/$syspath/$oem/opt/$dpkgpath/include elif [ "$oem" == "lscsm" ]; then - cp release/$syspath/$cpu/* dpkg/$syspath/$oem/opt/$dpkgpath + cp -rf release/$syspath/$cpu/* dpkg/$syspath/$oem/opt/$dpkgpath else savedpkgpath="dpkg/$syspath/$oem/opt/apps/$dpkgpath" echo $dpkgpath