Fix which(1) in meson-build.sh

This commit is contained in:
наб 2022-05-22 17:13:44 +02:00
parent 32c99bc86e
commit ee0d4cf74a
No known key found for this signature in database
GPG Key ID: BCFD0B018D2658F1

View File

@ -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