mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-26 17:25:34 +03:00
mkosi: use '[' rather than 'test' everywhere
This commit is contained in:
parent
a818a2ae60
commit
9400405b4a
@ -25,7 +25,8 @@
|
|||||||
[ -z "$BUILDDIR" ] && BUILDDIR=build
|
[ -z "$BUILDDIR" ] && BUILDDIR=build
|
||||||
|
|
||||||
export LC_CTYPE=C.UTF-8
|
export LC_CTYPE=C.UTF-8
|
||||||
test -f "$BUILDDIR"/build.ninja || meson "$BUILDDIR"
|
|
||||||
|
[ -f "$BUILDDIR"/build.ninja ] || meson "$BUILDDIR"
|
||||||
ninja -C "$BUILDDIR" all
|
ninja -C "$BUILDDIR" all
|
||||||
[ "$WITH_TESTS" = 0 ] || ninja -C "$BUILDDIR" test
|
[ "$WITH_TESTS" = 0 ] || ninja -C "$BUILDDIR" test
|
||||||
ninja -C "$BUILDDIR" install
|
ninja -C "$BUILDDIR" install
|
||||||
|
Loading…
Reference in New Issue
Block a user