mirror of
https://github.com/borgbackup/borg.git
synced 2025-03-10 06:03:38 +00:00
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.
This commit is contained in:
parent
795a553675
commit
ae8b0eb3e4
1 changed files with 2 additions and 0 deletions
2
Vagrantfile
vendored
2
Vagrantfile
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue