From 3598f8de7c12e124fd9384437c2caeabdbcbcde6 Mon Sep 17 00:00:00 2001 From: Jakub Strzebonski Date: Mon, 9 May 2022 10:49:42 +0200 Subject: [PATCH] #1742 add exception for vt directory before running git commands on Azure --- ci/build_cpp.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ci/build_cpp.sh b/ci/build_cpp.sh index fddc101bbc..51192a3582 100755 --- a/ci/build_cpp.sh +++ b/ci/build_cpp.sh @@ -96,6 +96,11 @@ then export Zoltan_DIR=${ZOLTAN_DIR:-""} fi +if test "${VT_CI_BUILD:-0}" -eq 1 +then + git config --global --add safe.directory "${source_dir}" +fi + export VT=${source_dir} export VT_BUILD=${build_dir}/vt mkdir -p "$VT_BUILD"