summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcheckVersions9
1 files changed, 8 insertions, 1 deletions
diff --git a/checkVersions b/checkVersions
index 859e2219c..c7d681118 100755
--- a/checkVersions
+++ b/checkVersions
@@ -281,7 +281,14 @@ then
sed 's|/[^/]\+/[^/]\+$||'
)"
remVer="$(
- curl_it "${quVer}/LATEST.TXT"
+ curl_it "${quVer}/" | \
+ sed -n '
+ s,^.*<a href="\([0-9.]\+\)/">.*$,\1,
+ T
+ p
+ ' | \
+ sort -V | \
+ tail -n1
)"
elif echo "${src}" | \
grep -q "//www\.mpich\.org/"