Skip to content

Commit

Permalink
Merge pull request #1784 from DARMA-tasking/1742-ci-git-errors
Browse files Browse the repository at this point in the history
#1742 add exception for vt directory before running git commands on Azure
  • Loading branch information
PhilMiller authored May 9, 2022
2 parents 19a1056 + 3598f8d commit 00b1297
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ci/build_cpp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 00b1297

Please sign in to comment.