summaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2023-04-16 12:39:02 +0200
committerraveit65 <[email protected]>2023-04-16 12:52:24 +0200
commit45683f4b2379e70ca8d3b9303c887009789de393 (patch)
tree5fcd2e512dc3081ff69a6996f321e5ab626c1620 /.build.yml
parent87006d5d0a60298a4cda376cb9e64b758a043958 (diff)
downloadmate-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
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml
index 729a56d..b6f3137 100644
--- a/.build.yml
+++ b/.build.yml
@@ -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