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.
This commit is contained in:
Thomas Haller 2022-04-15 11:10:01 +02:00
parent f9f7f231c8
commit 135bc5dd1f
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -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"
}