aboutsummaryrefslogtreecommitdiff
path: root/.local/share/bin/mk
diff options
context:
space:
mode:
Diffstat (limited to '.local/share/bin/mk')
-rwxr-xr-x.local/share/bin/mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/share/bin/mk b/.local/share/bin/mk
index 2a046d6..c9c2e5b 100755
--- a/.local/share/bin/mk
+++ b/.local/share/bin/mk
@@ -18,7 +18,7 @@ mode_cmake() {
cmake --log-level WARNING -B "$builddir" -G Ninja
fi
- exec ninja -C "$builddir" "$@"
+ cd "$builddir" && exec ninja "$@"
}
[ -e "CMakeLists.txt" ] && mode_cmake "$@"