diff options
| author | Jack Nagel | 2014-05-23 20:42:36 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-05-23 20:42:36 -0500 |
| commit | f39a06010563d63da59a5f91111326e093804758 (patch) | |
| tree | 2ed2babfaa52aac5e4f39a3dce855aedc66870d6 /Library | |
| parent | 6ce6c6fdb205b85c2934943f7dd5ac2df265d950 (diff) | |
| download | homebrew-f39a06010563d63da59a5f91111326e093804758.tar.bz2 | |
Skip over "mirror" lines when inserting bottle block
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/bottle.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/bottle.rb b/Library/Homebrew/cmd/bottle.rb index 42b1daba6..f9a6e968f 100644 --- a/Library/Homebrew/cmd/bottle.rb +++ b/Library/Homebrew/cmd/bottle.rb @@ -241,7 +241,7 @@ module Homebrew extend self odie 'Bottle block update failed!' unless string else update_or_add = 'add' - string = s.sub!(/( (url|sha1|sha256|head|version) ['"][\S ]+['"]\n+)+/m, '\0' + output + "\n") + string = s.sub!(/( (url|sha1|sha256|head|version|mirror) ['"][\S ]+['"]\n+)+/m, '\0' + output + "\n") odie 'Bottle block addition failed!' unless string end end |
