aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXu Cheng2017-01-22 19:50:14 +0800
committerXu Cheng2017-01-22 19:50:14 +0800
commit22f294af90ed08e2da9d0652fdc9c560c7797bed (patch)
tree0487e8d06f07bfe86b60abf581e4802f8db91690
parent7c27bfd37accbe3b3779d31d41feb51988fd37d0 (diff)
downloadbrew-22f294af90ed08e2da9d0652fdc9c560c7797bed.tar.bz2
bottle: fix regex
Noted that this is intended for the revision of this formula instead of rebuild of a bottle.
-rw-r--r--Library/Homebrew/dev-cmd/bottle.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/dev-cmd/bottle.rb b/Library/Homebrew/dev-cmd/bottle.rb
index 75078cffd..7367e5c37 100644
--- a/Library/Homebrew/dev-cmd/bottle.rb
+++ b/Library/Homebrew/dev-cmd/bottle.rb
@@ -443,7 +443,7 @@ module Homebrew
(\n^\ {3}[\S\ ]+$)* # options can be in multiple lines
)?|
(homepage|desc|sha1|sha256|version|mirror)\ ['"][\S\ ]+['"]| # specs with a string
- rebuild\ \d+ # rebuild with a number
+ revision\ \d+ # revision with a number
)\n+ # multiple empty lines
)+
/mx, '\0' + output + "\n"