summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcheckVersions4
1 files changed, 2 insertions, 2 deletions
diff --git a/checkVersions b/checkVersions
index 406e4383..2683876a 100755
--- a/checkVersions
+++ b/checkVersions
@@ -605,8 +605,8 @@ then
remVer="$( \
curl_it "${quVer}" | \
tr '"<>' '\n\n\n' | \
- grep "^${sPkgname}\(-src\)\?-\?[0-9._]\+[a-z]\?\.t\(ar\(\.[gx]z\|\.bz2\)\?\|gz\)\$" | \
- sed "s@^${sPkgname}\(-src\)\?-\?\([0-9._]\+[a-z]\?\)\.t\(ar\(\.[gx]z\|\.bz2\)\?\|gz\)\$@\2@" | \
+ grep "^${pkgname}\(-src\)\?-\?[0-9._]\+[a-z]\?\.t\(ar\(\.[gx]z\|\.bz2\)\?\|gz\)\$" | \
+ sed "s@^${pkgname}\(-src\)\?-\?\([0-9._]\+[a-z]\?\)\.t\(ar\(\.[gx]z\|\.bz2\)\?\|gz\)\$@\2@" | \
tr '_' '.' | \
sort -V | \
tail -n1