diff options
author | Erich Eckner <git@eckner.net> | 2017-08-01 12:19:44 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-08-01 12:19:44 +0200 |
commit | cb98553b895052c98626a961f550e2a9ff48898d (patch) | |
tree | 4630a169e8b7bb50944fc3bfd334f7d3ad6781d4 /checkVersions | |
parent | e230587659fbedc4d60aacddeb6d5afe1c3df958 (diff) | |
download | archlinuxewe-cb98553b895052c98626a961f550e2a9ff48898d.tar.xz |
checkVersions: increase timeout, repair github case sensitivity
Diffstat (limited to 'checkVersions')
-rwxr-xr-x | checkVersions | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/checkVersions b/checkVersions index 2876c0aa7..28ed0cedd 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" | \ |