bottle: make --write handle both quotes styles.
This commit is contained in:
parent
25c4e336f4
commit
89e07d44f6
@ -216,7 +216,7 @@ module Homebrew extend self
|
||||
odie 'Bottle block replacement failed!' unless string
|
||||
else
|
||||
update_or_add = 'update'
|
||||
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user