aboutsummaryrefslogtreecommitdiff
path: root/shellrc.d/dev
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-09-29 10:05:36 +0200
committerKarel Kočí <cynerd@email.cz>2022-09-29 10:05:36 +0200
commit7317c5dfef21349f61729b2df60233a2b817bc09 (patch)
treef6cd2eefde91ab75dbf4f55eedd70dd23b3940ce /shellrc.d/dev
parentd8e92e2705e1e411a46d23720e533bb34604ec1a (diff)
downloadshellrc-7317c5dfef21349f61729b2df60233a2b817bc09.tar.gz
shellrc-7317c5dfef21349f61729b2df60233a2b817bc09.tar.bz2
shellrc-7317c5dfef21349f61729b2df60233a2b817bc09.zip
dev: Do not check for directory but rather for ninja file
Diffstat (limited to 'shellrc.d/dev')
-rw-r--r--shellrc.d/dev2
1 files changed, 1 insertions, 1 deletions
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 "$@"