mirror of
https://github.com/ceph/ceph
synced 2026-08-02 07:03:18 +00:00
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:
parent
f2a3cbf53a
commit
2f705a7850
@ -70,7 +70,7 @@ EOF
|
||||
|
||||
echo done.
|
||||
|
||||
if [[ ! $ARGS =~ "-DCMAKE_BUILD_TYPE" ]]; then
|
||||
if [[ ! "$ARGS $@" =~ "-DCMAKE_BUILD_TYPE" ]]; then
|
||||
cat <<EOF
|
||||
|
||||
****
|
||||
|
||||
Loading…
Reference in New Issue
Block a user