From 7e4d3a3b2f053330e46cb74478ef6811af9598f5 Mon Sep 17 00:00:00 2001 From: sethg Date: Thu, 21 Dec 2023 20:38:35 +0100 Subject: [PATCH] Add safe directory --- ci/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/build.sh b/ci/build.sh index 4f77c2a12..a172cc867 100755 --- a/ci/build.sh +++ b/ci/build.sh @@ -56,10 +56,10 @@ if [ "${RUN_MSAUTOTESTS:-}" = "true" ]; then fi if [ "${WITH_ASAN:-}" != "true" ]; then - # upload coverage - set -eu + git config --global --add safe.directory "${WORK_DIR:=..}" ln -s ../../../src/mapparser.y build/CMakeFiles/mapserver.dir/ ln -s ../../../src/maplexer.l build/CMakeFiles/mapserver.dir/ + # upload coverage coveralls --exclude renderers --exclude mapscript --exclude apache --exclude build/mapscript/mapscriptJAVA_wrap.c \ --exclude build/mapscript/mapscriptPYTHON_wrap.c --exclude map2img.c --exclude legend.c --exclude scalebar.c \ --exclude msencrypt.c --exclude sortshp.c --exclude shptreevis.c --exclude shptree.c --exclude testexpr.c \