diff options
author | Thomas Haller <thaller@redhat.com> | 2023-02-09 19:22:37 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2023-02-09 19:22:37 +0100 |
commit | 46f39829d9bb8dd21b553a833e347efa79cbece3 (patch) | |
tree | 281c19eb859e5f56783cb30150d1e0cd1e1b98a4 /contrib | |
parent | 479e4dbfeeb524b0e64f1be231fe831169514c6a (diff) | |
download | NetworkManager-46f39829d9bb8dd21b553a833e347efa79cbece3.tar.gz |
contrib: accept ssh:// git url for origin in "nm-setup-git.sh"
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/scripts/nm-setup-git.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/scripts/nm-setup-git.sh b/contrib/scripts/nm-setup-git.sh index 392e3f36cc..b735a9fa1c 100755 --- a/contrib/scripts/nm-setup-git.sh +++ b/contrib/scripts/nm-setup-git.sh @@ -96,7 +96,8 @@ done case "$(git config --get-all remote.origin.url)" in "https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git"| \ - "git@gitlab.freedesktop.org:NetworkManager/NetworkManager.git") + "git@gitlab.freedesktop.org:NetworkManager/NetworkManager.git"| \ + "ssh://git@gitlab.freedesktop.org/NetworkManager/NetworkManager") ;; *) die "unexpected git repository. Expected that remote.origin.url is set to \"https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git\"" |