audit: Clarify GNU url warning message

"ftpmirror.gnu.org" must have a protocol prefix of "http", not
"https".

Closes Homebrew/homebrew#37567.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
chdiza 2015-03-10 10:15:21 -04:00 committed by Mike McQuaid
parent 4057a68e6e
commit 21314474cd

View File

@ -311,7 +311,7 @@ class FormulaAuditor
# Check GNU urls; doesn't apply to mirrors
urls.grep(%r[^(?:https?|ftp)://(?!alpha).+/gnu/]) do |u|
problem "\"ftpmirror.gnu.org\" is preferred for GNU software (url is #{u})."
problem "\"http://ftpmirror.gnu.org\" is preferred for GNU software (url is #{u})."
end
# the rest of the checks apply to mirrors as well.