summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-04-26 14:02:11 +0200
committerErich Eckner <git@eckner.net>2018-04-26 14:02:11 +0200
commit9099cb1eb5c4bdf7362282f034388fa13966e556 (patch)
tree4ede5c5d04934a665e60b6234df4df53e7a0db23
parent4c5070a188af5738504f55e8fb70379211c12030 (diff)
downloadarchlinuxewe-9099cb1eb5c4bdf7362282f034388fa13966e556.tar.xz
checkVersions: fix typo
-rwxr-xr-xcheckVersions4
1 files changed, 2 insertions, 2 deletions
diff --git a/checkVersions b/checkVersions
index 406e43833..2683876a3 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