diff options
-rwxr-xr-x | checkVersions | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/checkVersions b/checkVersions index 41f3a65b3..f323746e5 100755 --- a/checkVersions +++ b/checkVersions @@ -946,10 +946,11 @@ then then remVer=$( curl_it "${src%/*}/download.php" | \ - sed ' - s,^.*<a href="hyperrogue\([0-9]\+\)\([0-9][a-z]\?\)-src.tgz">[^<>]\+ source code</a>.*$,\1.\2, - t - d + sed -n ' + s,^.*<a href="hyperrogue\([0-9]\+\)\([0-9]\)\([a-z]\?\)-src.tgz">[^<>]\+ source code</a>.*$,\1.\2.\3, + T + s,\.$,, + p ' ) elif echo "${src}" | \ |