summaryrefslogtreecommitdiff
path: root/checkVersions
diff options
context:
space:
mode:
Diffstat (limited to 'checkVersions')
-rwxr-xr-xcheckVersions7
1 files changed, 5 insertions, 2 deletions
diff --git a/checkVersions b/checkVersions
index 2876c0aa..28ed0ced 100755
--- a/checkVersions
+++ b/checkVersions
@@ -12,7 +12,7 @@ usage() {
curl_it() {
local source="$1"
shift
- curl --connect-timeout 5 -s "$@" "${source}"
+ curl --connect-timeout 10 -s "$@" "${source}"
}
me="$(readlink -f $0)"
@@ -351,7 +351,10 @@ then
sed "s|/archive/[^/]*\$|/releases|" | \
sed 's|http:|https:|'
)
- quNam=/${quVer#*.com/}/tag/
+ quNam=$(
+ echo "/${quVer#*.com/}/tag/" | \
+ tr '[[:upper:]]' '[[:lower:]]'
+ )
remVer=$( \
curl_it "${quVer}" | \
tr "\"" "\n" | \