aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2014-07-03 21:24:30 +0100
committerMike McQuaid2014-07-03 22:33:20 +0100
commit9c5943d97a0737bfa410b4653fd244e3ce13ec39 (patch)
tree593256f23d61e04b4a704088e50e0c7d54c6ca21 /Library
parent4001c6f8f18fbf9e7b0b46e754f7aac53eb34118 (diff)
downloadbrew-9c5943d97a0737bfa410b4653fd244e3ce13ec39.tar.bz2
bottle: use revision to find bottle block too.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/bottle.rb2
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