do_cmake.sh: do not unnecessarily warn about debug build

do_cmake.sh forgets to check the arguments passed to it and ends up warning
about debug build even if a user specifies a release build.

Signed-off-by: Abutalib Aghayev <agayev@gmail.com>
This commit is contained in:
Abutalib Aghayev 2020-05-13 17:07:55 -04:00
parent f2a3cbf53a
commit 2f705a7850

View File

@ -70,7 +70,7 @@ EOF
echo done.
if [[ ! $ARGS =~ "-DCMAKE_BUILD_TYPE" ]]; then
if [[ ! "$ARGS $@" =~ "-DCMAKE_BUILD_TYPE" ]]; then
cat <<EOF
****