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

This commit is contained in:
Lennart Poettering
2017-07-20 14:37:05 +02:00
parent a818a2ae60
commit 9400405b4a
+2 -1
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