From 7317c5dfef21349f61729b2df60233a2b817bc09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 29 Sep 2022 10:05:36 +0200 Subject: dev: Do not check for directory but rather for ninja file --- shellrc.d/dev | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shellrc.d/dev') diff --git a/shellrc.d/dev b/shellrc.d/dev index 7815658..c528dac 100644 --- a/shellrc.d/dev +++ b/shellrc.d/dev @@ -9,7 +9,7 @@ massif() { } mbuild() { - if [ ! -d "build" ]; then + if [ ! -f "build/build.ninja" ]; then meson setup build fi meson compile -C build "$@" -- cgit v1.2.3