From 21e57856528a18ffb28393592165d7809ffdd319 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 4 Mar 2014 17:34:12 +0000 Subject: [PATCH] bottle: fix bottling Git tag case. --- Library/Homebrew/cmd/bottle.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/bottle.rb b/Library/Homebrew/cmd/bottle.rb index 4e99f3d83e..de4c7da96a 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