mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-09-06 00:55:56 +00:00
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:
parent
f9f7f231c8
commit
135bc5dd1f
|
@ -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"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue