build: Fix meson dist issue inside containers

lipc-refactor
nirenjan 2026-04-22 09:34:12 -07:00
parent 9cddfe9cef
commit c373ca9647
1 changed files with 3 additions and 1 deletions

View File

@ -9,7 +9,9 @@ rm -rf "$BUILDDIR"
# Handle the meson dist failure in CI
if [[ "$GITHUB_ACTIONS" == "true" ]]
then
git config --global --add safe.directory '*'
# If in a container, then use the system directory
git config --system --add safe.directory '*' || \
git config --global --add safe.directory '*'
fi
meson setup -Dprefix=/usr -Dsysconfdir=/etc -Dlocalstatedir=/var -Dnls=enabled "$BUILDDIR"