From 4fce99bc8ec85fbb2e0fdc6438a58ada52e49564 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 18 Apr 2016 09:17:13 +0200 Subject: bugfix in checkVersions --- checkVersions | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'checkVersions') diff --git a/checkVersions b/checkVersions index 1f73039aa..15e001575 100755 --- a/checkVersions +++ b/checkVersions @@ -100,11 +100,11 @@ then tail -n1 \ ) elif echo "${src}" | \ - grep -q "//search\.m\?cpan\.org/CPAN/authors/\|//cpan\.metacpan\.org/authors/" + grep -q "//search\.m\?cpan\.org/CPAN/authors/" then quVer=$( \ echo "${src%/*}" | \ - sed "s#//search\.m\?cpan\.org/CPAN/\|//cpan.metacpan.org/#//www.cpan.org/#" | \ + sed "s#//search\.m\?cpan\.org/CPAN/#//www.cpan.org/#" | \ sed "s|^https:|http:|" | \ sed "s|\([^/]\)\$|\1/|" ) @@ -123,11 +123,11 @@ then tail -n1 \ ) elif echo "${src}" | \ - grep -q "//cpan\.org/" + grep -q "//cpan\.org/\|//cpan\.metacpan\.org/authors/" then quVer=$( \ echo "${src%/*}/" | \ - sed "s|//cpan|//www.cpan|" + sed "s|//cpan\.org/|//www.cpan.org/|" ) quNam=${src##*/} quNam=${quNam%-*} -- cgit v1.2.3-70-g09d2