summaryrefslogtreecommitdiff
path: root/checkVersions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-09-11 11:34:44 +0200
committerErich Eckner <git@eckner.net>2017-09-11 11:34:44 +0200
commit039f8b76469063eee911d8652e601d721fab5497 (patch)
treeb606368dfe1542dc235351d180ae753b85cfd87d /checkVersions
parent0d4e2b6166e573d721fa0017c9382c52e665a37e (diff)
downloadarchlinuxewe-039f8b76469063eee911d8652e601d721fab5497.tar.xz
checkVersions kennt jetzt auch neutrino
Diffstat (limited to 'checkVersions')
-rwxr-xr-xcheckVersions8
1 files changed, 6 insertions, 2 deletions
diff --git a/checkVersions b/checkVersions
index 3eef2a6f4..9062fd67e 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#*::}" | \