]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi: use '[' rather than 'test' everywhere 6386/head
authorLennart Poettering <lennart@poettering.net>
Tue, 18 Jul 2017 08:30:52 +0000 (10:30 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 20 Jul 2017 12:37:05 +0000 (14:37 +0200)
mkosi.build

index c722e23192439bc27f25499e6c62209e5f24aacc..12e88b909ca3d46b5a0adc9e6c43f7a996b5667d 100755 (executable)
@@ -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