diff options
| author | Jack Nagel | 2014-05-23 20:42:36 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-05-23 20:42:36 -0500 |
| commit | ff12b0e361ee9c69aa79914dea520d313b236312 (patch) | |
| tree | 06584ecd173cff4bfbc0ebc26c176c1cbf3d18d8 /Library/Homebrew/cmd | |
| parent | 1e638331adfd92d8552449066d14e79f66f30bef (diff) | |
| download | brew-ff12b0e361ee9c69aa79914dea520d313b236312.tar.bz2 | |
Skip over "mirror" lines when inserting bottle block
Diffstat (limited to 'Library/Homebrew/cmd')
| -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 |
