From: Abutalib Aghayev Date: Wed, 13 May 2020 21:07:55 +0000 (-0400) Subject: do_cmake.sh: do not unnecessarily warn about debug build X-Git-Tag: v17.0.0~2378^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=2f705a785017656f041fceae4234ccc053e732e8;p=ceph.git 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 --- diff --git a/do_cmake.sh b/do_cmake.sh index cc68e560ade25..12b59b09c7387 100755 --- a/do_cmake.sh +++ b/do_cmake.sh @@ -70,7 +70,7 @@ EOF echo done. -if [[ ! $ARGS =~ "-DCMAKE_BUILD_TYPE" ]]; then +if [[ ! "$ARGS $@" =~ "-DCMAKE_BUILD_TYPE" ]]; then cat <