bottle: fix bottling Git tag case.
This commit is contained in:
parent
9a83f63c21
commit
21e5785652
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user