From 135bc5dd1fbf891fe99bd70f34ba4b52a4df7f85 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Fri, 15 Apr 2022 11:10:01 +0200 Subject: [PATCH] contrib/makerepo.sh: don't use unauthenticated github URL It doesn't work anymore: $ git clone git://github.com/thom311/libnl.git Cloning into 'libnl'... fatal: remote error: The unauthenticated git protocol on port 9418 is no longer supported. Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information. --- contrib/fedora/utils/makerepo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/fedora/utils/makerepo.sh b/contrib/fedora/utils/makerepo.sh index 7f471f75c6..48199077c8 100755 --- a/contrib/fedora/utils/makerepo.sh +++ b/contrib/fedora/utils/makerepo.sh @@ -70,7 +70,7 @@ git_remote_add_gnome() { } git_remote_add_github() { - git remote add "${2-origin}" "git://github.com/$1.git" + git remote add "${2-origin}" "https://github.com/$1.git" git remote 'set-url' --push "${2-origin}" "git@github.com:$1.git" }