调整打包脚本
This commit is contained in:
parent
da22405412
commit
78429a6072
5
build.sh
5
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
|
||||
|
|
Loading…
Reference in New Issue