bottle: fix bottling Git tag case.

This commit is contained in:
Mike McQuaid 2014-03-04 17:34:12 +00:00
parent 9a83f63c21
commit 21e5785652

View File

@ -220,7 +220,7 @@ module Homebrew extend self
odie 'Bottle block update failed!' unless string odie 'Bottle block update failed!' unless string
else else
update_or_add = 'add' 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 odie 'Bottle block addition failed!' unless string
end end
end end