mkosi: use '[' rather than 'test' everywhere

This commit is contained in:
Lennart Poettering 2017-07-18 10:30:52 +02:00
parent a818a2ae60
commit 9400405b4a
1 changed files with 2 additions and 1 deletions

View File

@ -25,7 +25,8 @@
[ -z "$BUILDDIR" ] && BUILDDIR=build
export LC_CTYPE=C.UTF-8
test -f "$BUILDDIR"/build.ninja || meson "$BUILDDIR"
[ -f "$BUILDDIR"/build.ninja ] || meson "$BUILDDIR"
ninja -C "$BUILDDIR" all
[ "$WITH_TESTS" = 0 ] || ninja -C "$BUILDDIR" test
ninja -C "$BUILDDIR" install