From: David Woodhouse Date: Sat, 21 May 2022 12:35:35 +0000 (+0100) Subject: Fix COPR builds X-Git-Tag: v9.10~123 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=912400ee4b99a34e7d2142f15ff7f20b4ccb752b;p=users%2Fdwmw2%2Fopenconnect.git Fix COPR builds These have recently started complaining that the git directory isn't owned by the current user: ./mkspec.sh mingw-openconnect fatal: unsafe repository ('/mnt/workdir-0bz7gifx/openconnect' is owned by someone else) Signed-off-by: David Woodhouse --- diff --git a/.copr/Makefile b/.copr/Makefile index d83f8033..67212f21 100644 --- a/.copr/Makefile +++ b/.copr/Makefile @@ -10,6 +10,7 @@ TARGET=mingw-openconnect endif srpm: /usr/bin/git + git config --global --add safe.directory "*" ./mkspec.sh $(TARGET) set -x; if grep -q "global gitsnapshot 1" $(TARGET).spec; then \ tarprefix=$$(sed -n '/^%global snapcommit /s/.* //p' $(TARGET).spec); \