diff options
author | raveit65 <[email protected]> | 2023-04-16 12:39:02 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2023-04-16 12:52:24 +0200 |
commit | 45683f4b2379e70ca8d3b9303c887009789de393 (patch) | |
tree | 5fcd2e512dc3081ff69a6996f321e5ab626c1620 | |
parent | 87006d5d0a60298a4cda376cb9e64b758a043958 (diff) | |
download | mate-backgrounds-45683f4b2379e70ca8d3b9303c887009789de393.tar.bz2 mate-backgrounds-45683f4b2379e70ca8d3b9303c887009789de393.tar.xz |
travis-CI: mark rootdir as save
fixes this error:
```
make[3]: Entering directory '/rootdir'
Creating ChangeLog
fatal: unsafe repository ('/rootdir' is owned by someone else)
To add an exception for this directory, call:
git config --global --add safe.directory /rootdir
Failed to generate ChangeLog
```
A change was introduced in git 2.35.2 (and newer) to prevent a user from executing git commands in a repository owned by a different user.
See https://confluence.atlassian.com/bbkb/git-command-returns-fatal-error-about-the-repository-being-owned-by-someone-else-1167744132.html
-rw-r--r-- | .build.yml | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -47,6 +47,7 @@ build_scripts: - make after_scripts: + - git config --global --add safe.directory /rootdir - if [ ${BUILD_TYPE} == "scripts" ];then - if [ ${DISTRO_NAME} == "debian" ];then - curl -Ls -o debian.sh https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/debian.sh |