From 621075aa13061379d3b4385197f0231a4ade7f7d Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 1 Feb 2016 16:14:48 -0500 Subject: [PATCH] vcs-url: more updates --- .bin/vcs-url | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.bin/vcs-url b/.bin/vcs-url index 8cc3680..0d83a33 100755 --- a/.bin/vcs-url +++ b/.bin/vcs-url @@ -70,7 +70,13 @@ git_url() { *://buildroot.org/*|*://git.buildroot.org/*|\ *://buildroot.net/*|*://git.buildroot.net/*) repo=$(echo "${remote}" | sed -e 's,^[^:]*://[^/]*/,,' -e 's:[.]git$::') - url="https://git.${repo,,}.org/${repo}/commit/?id=" + url="https://git." + case ${repo} in + uclibc) url+="uclibc.org" ;; + buildroot) url+="buildroot.org" ;; + *) url+="busybox.net" ;; + esac + url+="/${repo}/commit/?id=" ;; *://git@git.gentoo.org/*|\ *://anongit.gentoo.org/*) -- 2.39.5