summaryrefslogtreecommitdiff
path: root/mkosi.build
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2021-01-24 14:13:58 +0000
committerDaan De Meyer <daan.j.demeyer@gmail.com>2021-01-24 17:33:49 +0000
commit44bc7f4fcf64429165b93bd0192bfb3ac5e08b0d (patch)
treec2c26cdd17b281f93b51062e4b8f2ed84045aaee /mkosi.build
parent5a89c7972a5ce15f299ed867834134c23695b4d9 (diff)
downloadsystemd-44bc7f4fcf64429165b93bd0192bfb3ac5e08b0d.tar.gz
meson: Fix update-man-rules when the build dir is not a subdir of the project dir
Until now, update-man-rules assumed that the build directory was a subdirectory of the project directory. When using mkosi, this is not the case. We use find instead of git ls-files because git ls-files does not seem to support outputting absolute paths. Also, this makes update-man-rules a bit more user-friendly as new manpages don't have to be added to the git staging area before they are processed by update-man-rules.py.
Diffstat (limited to 'mkosi.build')
-rwxr-xr-xmkosi.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkosi.build b/mkosi.build
index f28c2892c3..a74fc196be 100755
--- a/mkosi.build
+++ b/mkosi.build
@@ -97,7 +97,7 @@ if [ ! -f "$BUILDDIR"/build.ninja ] ; then
fi
cd "$BUILDDIR"
-ninja $@
+ninja "$@"
if [ "$WITH_TESTS" = 1 ] ; then
for id in 1 2 3; do
getent group $id > /dev/null || groupadd -g $id testgroup$id