summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Waldmann <tw@waldmann-edv.de>2022-12-24 18:15:49 +0100
committerThomas Waldmann <tw@waldmann-edv.de>2022-12-24 18:15:49 +0100
commitae8b0eb3e4e8dceef128eacc2371243e13d52c65 (patch)
treea270e68780e159cdc8761a76c9994b507b71133c
parent795a553675d9b9f33b7fc812b7edc8a917ef8f0c (diff)
avoid git complaining about dubious ownership
this lead to breakage of setuptools_scm, it could not determine the borg version under fakeroot due to this git / ownership issue.
-rw-r--r--Vagrantfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Vagrantfile b/Vagrantfile
index af4a1e7b..fef045e2 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -229,6 +229,8 @@ def run_tests(boxname, skip_env)
pyenv local 3.8.0 3.9.16 3.10.0
fi
# otherwise: just use the system python
+ # avoid that git complains about dubious ownership if we use fakeroot:
+ git config --global --add safe.directory /vagrant/borg/borg
# some OSes can only run specific test envs, e.g. because they miss FUSE support:
export TOX_SKIP_ENV='#{skip_env}'
if which fakeroot 2> /dev/null; then