diff options
| author | Mike McQuaid | 2014-07-03 21:24:30 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2014-07-03 22:33:20 +0100 |
| commit | 5dfb9d9f4e3700626cdc15c1753c45685721be25 (patch) | |
| tree | bdb328d6b66b942851f61cb0be9cb42a9d4cad9f /Library/Homebrew/cmd | |
| parent | 90f3142d6da61dc02673ddaf7a1c002640f7afb5 (diff) | |
| download | homebrew-5dfb9d9f4e3700626cdc15c1753c45685721be25.tar.bz2 | |
bottle: use revision to find bottle block too.
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 0160d3198..91901292b 100644 --- a/Library/Homebrew/cmd/bottle.rb +++ b/Library/Homebrew/cmd/bottle.rb @@ -239,7 +239,7 @@ module Homebrew odie 'Bottle block update failed!' unless string else update_or_add = 'add' - string = s.sub!(/( (url|sha1|sha256|head|version|mirror) ['"][\S ]+['"]\n+)+/m, '\0' + output + "\n") + string = s.sub!(/( (url|sha1|sha256|head|version|mirror|revision) ['"][\S ]+['"]\n+)+/m, '\0' + output + "\n") odie 'Bottle block addition failed!' unless string end end |
