diff options
Diffstat (limited to 'checkVersions')
-rwxr-xr-x | checkVersions | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/checkVersions b/checkVersions index 3eef2a6f..9062fd67 100755 --- a/checkVersions +++ b/checkVersions @@ -237,8 +237,12 @@ then tail -n1 )" elif echo "${src}" | \ - grep -q 'git://anonscm\.debian\.org/' + grep -q 'git://anonscm\.debian\.org/\|^git+https\?://github\.com/' then + src=$( + echo "${src}" | \ + sed 's|^git+||' + ) remVer="$( git ls-remote --tags "${src%#*}" | \ awk '{print $2}' | \ @@ -388,7 +392,7 @@ then tail -n1 \ ) elif echo "${src}" | \ - grep -q "//github.com/" + grep -q '//github\.com/' then quVer=$( echo "${src#*::}" | \ |