mirror of
https://github.com/systemd/systemd.git
synced 2024-11-24 02:33:36 +08:00
Fix which(1) in meson-build.sh
This commit is contained in:
parent
32c99bc86e
commit
ee0d4cf74a
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user