diff --git a/build.sh b/build.sh index d5e5ee84..c045477d 100755 --- a/build.sh +++ b/build.sh @@ -4,6 +4,9 @@ cd $script_dir #勿删 pwd cd ./build2/qt +rm -rf ../build +rm -rf ../temp + rm -f Makefile rm -f HGBase/Makefile rm -f HGDemo/Makefile @@ -21,7 +24,7 @@ rm -f HGVersion/Makefile rm -f HGWebScan/Makefile rm -f HGWebService/Makefile -if [ "${1}" == "hwall" ] || [ "${1}" == "hw" ] || [ "${1}" == "hwweb" ] || [ "${1}" == "hwso" ]; then +if [ "${1}" == "hwall" ] || [ "${1}" == "hw" ]|| [ "${1}" == "hwweb" ] || [ "${1}" == "hwso" ]; then if [ "${1}" == "hwall" ]; then