From: Mike Frysinger Date: Mon, 1 Feb 2016 21:14:48 +0000 (-0500) Subject: vcs-url: more updates X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=621075aa13061379d3b4385197f0231a4ade7f7d;p=home.git vcs-url: more updates --- 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/*)