diff options
| author | Mike McQuaid | 2014-03-04 17:34:12 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-03-04 17:34:21 +0000 |
| commit | 21e57856528a18ffb28393592165d7809ffdd319 (patch) | |
| tree | 8742ef4f84337011910cd7c42a334daf60db8c79 | |
| parent | 9a83f63c21880f782233b23abac2f820a2c3c18d (diff) | |
| download | brew-21e57856528a18ffb28393592165d7809ffdd319.tar.bz2 | |
bottle: fix bottling Git tag case.
| -rw-r--r-- | Library/Homebrew/cmd/bottle.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/bottle.rb b/Library/Homebrew/cmd/bottle.rb index 4e99f3d83..de4c7da96 100644 --- a/Library/Homebrew/cmd/bottle.rb +++ b/Library/Homebrew/cmd/bottle.rb @@ -220,7 +220,7 @@ module Homebrew extend self odie 'Bottle block update failed!' unless string else update_or_add = 'add' - string = s.sub!(/( (url|sha1|sha256|head|version) ['"]\S*['"]\n+)+/m, '\0' + output + "\n") + string = s.sub!(/( (url|sha1|sha256|head|version) ['"][\S ]+['"]\n+)+/m, '\0' + output + "\n") odie 'Bottle block addition failed!' unless string end end |
