diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2021-09-29 21:28:55 +0200 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2021-09-30 12:27:06 +0200 |
commit | f7e0d22d76ead994a848049fb45afd9a6fb9915a (patch) | |
tree | 5875e694923192d7c7a9d1b89fb18dba6a9ca22a /tools/meson-build.sh | |
parent | test: shellcheck-ify test scripts (diff) | |
download | systemd-f7e0d22d76ead994a848049fb45afd9a6fb9915a.tar.xz systemd-f7e0d22d76ead994a848049fb45afd9a6fb9915a.zip |
tools: shellcheck-ify tool scripts
Diffstat (limited to 'tools/meson-build.sh')
-rwxr-xr-x | tools/meson-build.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/meson-build.sh b/tools/meson-build.sh index 26f995dfc1..6d45e89a06 100755 --- a/tools/meson-build.sh +++ b/tools/meson-build.sh @@ -9,13 +9,14 @@ options="$4" CC="$5" CXX="$6" +# shellcheck disable=SC2086 [ -f "$dst/ninja.build" ] || CC="$CC" CXX="$CXX" meson "$src" "$dst" $options # Locate ninja binary, on CentOS 7 it is called ninja-build, so # use that name if available. -ninja=ninja +ninja="ninja" if which ninja-build >/dev/null 2>&1 ; then - ninja=ninja-build + ninja="ninja-build" fi "$ninja" -C "$dst" "$target" |