build-style/cmake.sh: fix default do_check
This commit is contained in:
parent
494ec83050
commit
e1a62f4018
1 changed files with 2 additions and 0 deletions
|
@ -50,6 +50,8 @@ do_build() {
|
|||
}
|
||||
|
||||
do_check() {
|
||||
cd ${cmake_builddir:=build}
|
||||
|
||||
if [ -z "$make_cmd" ] && [ -z "$make_check_target" ]; then
|
||||
if make -q test 2>/dev/null; then
|
||||
:
|
||||
|
|
Loading…
Reference in a new issue