From 71770c2939ccc95e9928936050fa1b03a9116bf5 Mon Sep 17 00:00:00 2001 From: Magnus Edenhill Date: Thu, 12 May 2022 22:26:38 +0200 Subject: [PATCH] Add git safe.directory to RPM mock builder too --- packaging/rpm/mock-on-docker.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packaging/rpm/mock-on-docker.sh b/packaging/rpm/mock-on-docker.sh index 54ae0de2..eec3d54a 100755 --- a/packaging/rpm/mock-on-docker.sh +++ b/packaging/rpm/mock-on-docker.sh @@ -77,6 +77,9 @@ else echo "Building $MOCK_CONFIG in $PWD" cat $cfg_file + echo "Setting git safe.directory" + git config --global --add safe.directory /io + export MOCK_CONFIG=$MOCK_CONFIG make all