diff options
-rwxr-xr-x | tools/meson-build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/meson-build.sh b/tools/meson-build.sh index 6d45e89a06..ecd558f8d9 100755 --- a/tools/meson-build.sh +++ b/tools/meson-build.sh @@ -15,7 +15,7 @@ CXX="$6" # Locate ninja binary, on CentOS 7 it is called ninja-build, so # use that name if available. ninja="ninja" -if which ninja-build >/dev/null 2>&1 ; then +if command -v ninja-build >/dev/null ; then ninja="ninja-build" fi |