]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: check the existence of ninja.build for fuzzer tests
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 22 Jul 2018 14:39:26 +0000 (23:39 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 23 Jul 2018 06:50:26 +0000 (08:50 +0200)
tools/meson-build.sh

index 304a7556763646b63488ac3eef9072702e75517e..317dad932d9b25a54a625b8e82746f454b4a0701 100755 (executable)
@@ -6,7 +6,7 @@ dst="$2"
 target="$3"
 options="$4"
 
-[ -d "$dst" ] || meson "$src" "$dst" $options
+[ -f "$dst/ninja.build" ] || meson "$src" "$dst" $options
 
 # Locate ninja binary, on CentOS 7 it is called ninja-build, so
 # use that name if available.