From 45683f4b2379e70ca8d3b9303c887009789de393 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sun, 16 Apr 2023 12:39:02 +0200 Subject: 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 --- .build.yml | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.1