aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-09-12 10:46:59 +0100
committerGitHub2016-09-12 10:46:59 +0100
commitafc5aa125f038561c1c9aedaead49e04f18e3b3f (patch)
tree1c0c56b09fc019cb6c0b5666a0d9a12ee8c42c8c /Library
parentf8918d8f72715a002103650a9b8f8b9c913397c0 (diff)
parent5da42b5a5fb1df669b0d49348b8e5c5fc7cee097 (diff)
downloadbrew-afc5aa125f038561c1c9aedaead49e04f18e3b3f.tar.bz2
Merge pull request #943 from MikeMcQuaid/test-bot-multiline-regex
test-bot: fix multiline regex.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/dev-cmd/test-bot.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/dev-cmd/test-bot.rb b/Library/Homebrew/dev-cmd/test-bot.rb
index cef1ecc89..2b0e809c1 100644
--- a/Library/Homebrew/dev-cmd/test-bot.rb
+++ b/Library/Homebrew/dev-cmd/test-bot.rb
@@ -631,7 +631,7 @@ module Homebrew
bottle_step = steps.last
if bottle_step.passed? && bottle_step.output?
bottle_filename =
- bottle_step.output.gsub(%r{.*(\./\S+#{Utils::Bottles.native_regex}).*/m}, '\1')
+ bottle_step.output.gsub(%r{.*(\./\S+#{Utils::Bottles.native_regex}).*}m, '\1')
bottle_json_filename = bottle_filename.gsub(/\.(\d+\.)?tar\.gz$/, ".json")
bottle_merge_args = ["--merge", "--write", "--no-commit", bottle_json_filename]
bottle_merge_args << "--keep-old" if ARGV.include? "--keep-old"