调整打包脚本

This commit is contained in:
13038267101 2022-07-04 15:20:25 +08:00
parent da22405412
commit 78429a6072
1 changed files with 2 additions and 3 deletions

View File

@ -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