Skip to content
Snippets Groups Projects
Commit df46d629 authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #1807 from MikeMcQuaid/bump-formula-pr-check-url

bump-formula-pr: check for URL presence.
parents f7bccee2 c276a44e
No related branches found
No related tags found
No related merge requests found
......@@ -124,6 +124,8 @@ module Homebrew
false
elsif !hash_type
odie "#{formula}: no tag/revision specified!"
elsif !new_url
odie "#{formula}: no url specified!"
else
rsrc_url = if requested_spec != :devel && new_url =~ /.*ftpmirror.gnu.*/
new_mirror = new_url.sub "ftpmirror.gnu.org", "ftp.gnu.org/gnu"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment