Skip to content

Commit

Permalink
do_cmake.sh: do not unnecessarily warn about debug build
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Abutalib Aghayev committed May 13, 2020
1 parent f2a3cbf commit 2f705a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion do_cmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ EOF

echo done.

if [[ ! $ARGS =~ "-DCMAKE_BUILD_TYPE" ]]; then
if [[ ! "$ARGS $@" =~ "-DCMAKE_BUILD_TYPE" ]]; then
cat <<EOF
****
Expand Down

0 comments on commit 2f705a7

Please sign in to comment.