diff options
author | наб <nabijaczleweli@nabijaczleweli.xyz> | 2022-05-22 17:13:44 +0200 |
---|---|---|
committer | наб <nabijaczleweli@nabijaczleweli.xyz> | 2022-05-23 12:52:56 +0200 |
commit | ee0d4cf74ab483a2fc5655fa2a9bdf280ea1ef79 (patch) | |
tree | d2eb4bec9cc3c3a486f1b289edfcd60f97a05a0d /tools/meson-build.sh | |
parent | Don't ignore kernel-install for shellcheck (diff) | |
download | systemd-ee0d4cf74ab483a2fc5655fa2a9bdf280ea1ef79.tar.xz systemd-ee0d4cf74ab483a2fc5655fa2a9bdf280ea1ef79.zip |
Fix which(1) in meson-build.sh
Diffstat (limited to 'tools/meson-build.sh')
-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 |