diff options
| author | Xu Cheng | 2015-12-11 21:46:02 +0800 |
|---|---|---|
| committer | Xu Cheng | 2015-12-11 21:46:02 +0800 |
| commit | 71e023a2c65ecebec49ff4935a4fe8d2a5e01277 (patch) | |
| tree | f82c88634a7e72088ebb7664e0ac944790167da4 /Library/Homebrew/cmd | |
| parent | 43713afa5f87d15c4ab82602c27d17cea65dd62c (diff) | |
| download | brew-71e023a2c65ecebec49ff4935a4fe8d2a5e01277.tar.bz2 | |
test-bot: fix resolve_test_tap
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/test-bot.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/test-bot.rb b/Library/Homebrew/cmd/test-bot.rb index fec1eab39..0efd400dc 100644 --- a/Library/Homebrew/cmd/test-bot.rb +++ b/Library/Homebrew/cmd/test-bot.rb @@ -53,7 +53,7 @@ module Homebrew if git_url = ENV["UPSTREAM_GIT_URL"] || ENV["GIT_URL"] # Also can get tap from Jenkins GIT_URL. - url_path = git_url.sub(%r{^https?://github\.com/}, "").chomp("/") + url_path = git_url.sub(%r{^https?://github\.com/}, "").chomp("/").sub(%r{\.git$}, "") begin tap = Tap.fetch(url_path) return tap unless tap.core_formula_repository? |
