[NetworkManager-openconnect] Fix COPR builds
- From: David Woodhouse <dwmw2 src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [NetworkManager-openconnect] Fix COPR builds
- Date: Sat, 21 May 2022 11:58:37 +0000 (UTC)
commit 60fdde01e19859c1eb8695c829ca8f56cd2e20ab
Author: David Woodhouse <dwmw2 infradead org>
Date: Sat May 21 12:56:30 2022 +0100
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)
Relax that check for the COPR builds.
.copr/Makefile | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/.copr/Makefile b/.copr/Makefile
index 7da2ab5..920a584 100644
--- a/.copr/Makefile
+++ b/.copr/Makefile
@@ -6,6 +6,7 @@
TARGET=NetworkManager-openconnect
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); \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]