mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-08-31 09:50:11 +03:00
Fix which(1) in meson-build.sh
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user