From 78429a6072e210d595ee5dd5621207a458edf144 Mon Sep 17 00:00:00 2001 From: 13038267101 Date: Mon, 4 Jul 2022 15:20:25 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=89=93=E5=8C=85=E8=84=9A?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index 89813cfa..2fb1ec9c 100755 --- a/build.sh +++ b/build.sh @@ -79,7 +79,6 @@ rm -rf ./obj rm -f makefile rm HGImgProcTmp.cbp -#WEB if [ "${1}" == "hgweb" ] || [ "${1}" == "hwweb" ] || [ "${1}" == "lscweb" ]; then cd ../HGUpload cbp2make -targets ${system}_${arch}_Release -in HGUpload.cbp -out makefile @@ -91,9 +90,9 @@ if [ "${1}" == "hgweb" ] || [ "${1}" == "hwweb" ] || [ "${1}" == "lscweb" ]; the cd ../HGWebService cp HGWebService.cbp HGWebServiceTmp.cbp sed -i "s/release\/${system}\/${arch}\/HGWebService/release\/${system}\/${arch}\/${prefix}WebService/g" HGWebServiceTmp.cbp - if [ "${1}" == "hw" ]; then + if [ "${1}" == "hwweb" ]; then sed -i "s/OEM_HUAGAO/OEM_HANWANG/g" HGWebServiceTmp.cbp - elif [ "${1}" == "lsc" ]; then + elif [ "${1}" == "lscweb" ]; then sed -i "s/OEM_HUAGAO/OEM_LISICHENG/g" HGWebServiceTmp.cbp fi sed -i "s/-lHGBase/-l${prefix}Base/g" HGWebServiceTmp.cbp