From d9925c3fda446fae840ad09fc40d931ec0ac5792 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 aa76717..de02cd9 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 - make distcheck - fi -- cgit v1.2.1