This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 659cb41 Allow for missing entry
659cb41 is described below
commit 659cb411c77fc074557afcb9d3641aacee60a594
Author: Sebb <[email protected]>
AuthorDate: Fri Apr 23 11:45:56 2021 +0100
Allow for missing entry
---
tools/download_check.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/download_check.rb b/tools/download_check.rb
index 9d69b0a..995fdca 100755
--- a/tools/download_check.rb
+++ b/tools/download_check.rb
@@ -251,7 +251,7 @@ def check_hash_loc(h,tlp)
#
https://repo1.maven.org/maven2/org/apache/shiro/shiro-spring/1.1.0/shiro-spring-1.1.0.jar.asc
elsif h =~
%r{^(https?)://repo1?\.(maven)(?:\.apache)?\.org/maven2/org/apache/#{tlpQE}/.+/([^/]+\.(?:jar|xml))\.(\w{3,6})$}
# Maven
WE "HTTPS! #{h}" unless $1 == 'https'
- W "Unexpected hash location #{h} for #{tlp}" unless $vercheck[$3][0] ==
'maven'
+ W "Unexpected hash location #{h} for #{tlp}" unless ($vercheck[$3][0]
rescue '') == 'maven'
return $2,$3,$4
else
if h =~ %r{-bin-}