diff --git a/build.sh b/build.sh index 533a5391..06c57928 100755 --- a/build.sh +++ b/build.sh @@ -18,15 +18,15 @@ rm -f HGVersion/Makefile rm -f HGWebScan/Makefile rm -f HGWebService/Makefile -if [ "${1}" == "hw" ]; then +if [ "${1}" == "hw" ] || [ "${1}" == "hwweb" ] || [ "${1}" == "hwso" ]; then qmake -qt=qt5 -makefile "DEFINES += OEM_HANWANG" HGSolution.pro -elif [ "${1}" == "lsc" ]; then +elif [ "${1}" == "lsc" ] || [ "${1}" == "lscweb" ] || [ "${1}" == "lscso" ]; then qmake -qt=qt5 -makefile "DEFINES += OEM_LISICHENG" HGSolution.pro -elif [ "${1}" == "cts" ]; then +elif [ "${1}" == "cts" ] || [ "${1}" == "ctsweb" ] || [ "${1}" == "ctsso" ]; then qmake -qt=qt5 -makefile "DEFINES += OEM_CANGTIAN" HGSolution.pro -elif [ "${1}" == "zj" ]; then +elif [ "${1}" == "zj" ] || [ "${1}" == "zjweb" ] || [ "${1}" == "zjso" ]; then qmake -qt=qt5 -makefile "DEFINES += OEM_ZHONGJING" HGSolution.pro -elif [ "${1}" == "zg" ]; then +elif [ "${1}" == "zg" ] || [ "${1}" == "zgweb" ] || [ "${1}" == "zgso" ]; then qmake -qt=qt5 -makefile "DEFINES += OEM_ZIGUANG" HGSolution.pro else qmake -qt=qt5 -makefile HGSolution.pro