aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMike McQuaid2017-01-23 07:51:23 +0000
committerGitHub2017-01-23 07:51:23 +0000
commit3be56aee71da207dbc491b5d9bfd803fb8201f9a (patch)
treea7b50122e76ce88c19d37226c88e0bf1c9b2fc81 /Library/Homebrew
parent6f305ad3dcd01a21b5c5836339338eeb47a239cf (diff)
parent22f294af90ed08e2da9d0652fdc9c560c7797bed (diff)
downloadbrew-3be56aee71da207dbc491b5d9bfd803fb8201f9a.tar.bz2
Merge pull request #1895 from xu-cheng/bottle
bottle: fix regex
Diffstat (limited to 'Library/Homebrew')
-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"