diff --git a/scripts/make_common.sh b/scripts/make_common.sh index 4120ac33..285f129b 100755 --- a/scripts/make_common.sh +++ b/scripts/make_common.sh @@ -5,6 +5,10 @@ BUILD_CLEAN=$2 IS_MINGW=$3 IS_WIN32=$4 +if [[ -z "${BUILD_TYPE}" ]]; then + BUILD_TYPE=Release +fi + if [ "${IS_MINGW}" == "1" ] || [ "${IS_WIN32}" == "1" ]; then BUILD_ROOT=build2 else diff --git a/scripts/setup_msys2.sh b/scripts/setup_msys2.sh index 92ea296a..1d11e7c9 100755 --- a/scripts/setup_msys2.sh +++ b/scripts/setup_msys2.sh @@ -7,5 +7,4 @@ pacman -Sqyuu --noconfirm && mingw64/mingw-w64-x86_64-make \ mingw64/mingw-w64-x86_64-toolchain \ msys/git \ - msys/mercurial \ make