summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcheckVersions6
1 files changed, 3 insertions, 3 deletions
diff --git a/checkVersions b/checkVersions
index 27a8242b9..5f21939b8 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}" | \