summaryrefslogtreecommitdiff
path: root/checkVersions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-06-26 10:22:58 +0200
committerErich Eckner <git@eckner.net>2017-06-26 10:22:58 +0200
commit4dd7171227d094a55a558457796235e1c7ebeb65 (patch)
tree52d26d2aa30e9cedb129d5be7e578541b887d906 /checkVersions
parent2cfdacb6bfd3d82836271cfb1628ece43c84539a (diff)
downloadarchlinuxewe-4dd7171227d094a55a558457796235e1c7ebeb65.tar.xz
checkVersions: cleanup
Diffstat (limited to 'checkVersions')
-rwxr-xr-xcheckVersions16
1 files changed, 15 insertions, 1 deletions
diff --git a/checkVersions b/checkVersions
index 66833af43..8144dbb33 100755
--- a/checkVersions
+++ b/checkVersions
@@ -423,7 +423,21 @@ then
tail -n1
)"
elif echo "${src}" | \
- grep -q "https\?://\(\(bitbucket\|bindfs\|qgis\|download\.osgeo\|www\.\(iozone\|wurzel\)\)\.org\|ftp\.daper\.net\|www\.\(cybernoia\.de\|phy\.duke\.edu\)\|isl\.gforge\.inria\.fr\|alpine\.freeiz.com\)/"
+ grep -q "$(
+ printf '^https\\?://%s/\|' \
+ 'alpine\.freeiz.com' \
+ 'bitbucket\.org' \
+ 'bindfs\.org' \
+ 'download\.osgeo\.org' \
+ 'ftp\.daper\.net' \
+ 'isl\.gforge\.inria\.fr' \
+ 'qgis\.org' \
+ 'webhome\.phy\.duke\.edu' \
+ 'www\.iozone\.org' \
+ 'www\.wurzel\.org' \
+ 'www\.cybernoia\.de' \
+ | sed 's@\\|$@\n@'
+ )"
then
quVer="${src%/*}/"
remVer="$( \