summaryrefslogtreecommitdiff
path: root/checkVersions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-09-19 11:42:17 +0200
committerErich Eckner <git@eckner.net>2019-09-19 11:42:17 +0200
commit99d056ab10153140520825981522c516b2f7012e (patch)
tree7d42cb77987bf2f4020d4a5bc60d49b58a30228e /checkVersions
parent36833d47446456307a08da630d67856eccff8b03 (diff)
downloadarchlinuxewe.git.save-99d056ab10153140520825981522c516b2f7012e.tar.xz
checkVersions: repair bz2 sources offered via ftp
Diffstat (limited to 'checkVersions')
-rwxr-xr-xcheckVersions6
1 files changed, 3 insertions, 3 deletions
diff --git a/checkVersions b/checkVersions
index 27a8242b..5f21939b 100755
--- a/checkVersions
+++ b/checkVersions
@@ -621,14 +621,14 @@ then
grep -q "ftp://"
then
quVer="${src%/*}/"
- quNam=${src##*/}
+ quNam="${src##*/}"
quEnd=$( \
echo "${quNam}" |
- sed "s|^.*v\?[0-9.]*[0-9]||" \
+ sed "s|^.*v\?[0-9.]*[0-9]\(.\)|\1|"
)
quNam=$( \
echo ${quNam} | \
- sed "s|v\?[0-9.]\+.*\$||" \
+ sed "s|v\?[0-9.]\+.*\$||"
)
tmpVer=$( \
curl_it "${quVer}" | \