diff options
| author | Mike McQuaid | 2017-01-09 14:08:16 +0000 |
|---|---|---|
| committer | GitHub | 2017-01-09 14:08:16 +0000 |
| commit | df46d629236a5d704abe02e2773b3fbcc17ad01a (patch) | |
| tree | 484f060954a3ecce8c155b5d478f1e2da3edf9fd /Library | |
| parent | f7bccee2145547d21b2629cab8b5fddff3299bda (diff) | |
| parent | c276a44ebae578bdbd3048916f2a90ae20e72dd1 (diff) | |
| download | brew-df46d629236a5d704abe02e2773b3fbcc17ad01a.tar.bz2 | |
Merge pull request #1807 from MikeMcQuaid/bump-formula-pr-check-url
bump-formula-pr: check for URL presence.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/dev-cmd/bump-formula-pr.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/dev-cmd/bump-formula-pr.rb b/Library/Homebrew/dev-cmd/bump-formula-pr.rb index 8fdbd97b6..68bf32d0b 100644 --- a/Library/Homebrew/dev-cmd/bump-formula-pr.rb +++ b/Library/Homebrew/dev-cmd/bump-formula-pr.rb @@ -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" |
