mirror of https://github.com/nirenjan/libx52.git
build: Fix meson dist issue inside containers
parent
9cddfe9cef
commit
c373ca9647
|
|
@ -9,7 +9,9 @@ rm -rf "$BUILDDIR"
|
||||||
# Handle the meson dist failure in CI
|
# Handle the meson dist failure in CI
|
||||||
if [[ "$GITHUB_ACTIONS" == "true" ]]
|
if [[ "$GITHUB_ACTIONS" == "true" ]]
|
||||||
then
|
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
|
fi
|
||||||
|
|
||||||
meson setup -Dprefix=/usr -Dsysconfdir=/etc -Dlocalstatedir=/var -Dnls=enabled "$BUILDDIR"
|
meson setup -Dprefix=/usr -Dsysconfdir=/etc -Dlocalstatedir=/var -Dnls=enabled "$BUILDDIR"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue