bottle: use revision to find bottle block too.
This commit is contained in:
parent
4001c6f8f1
commit
9c5943d97a
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user