aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2014-02-09 14:33:14 +0000
committerMike McQuaid2014-02-09 14:34:50 +0000
commit7c8f922afd82f71ddfefb24560b5ca3746bf1904 (patch)
tree9280f6d4feb30dd166b936611f824131241010b3 /Library
parent4381b524694c7c05ca9694a0ae2abf974f8c3168 (diff)
downloadhomebrew-7c8f922afd82f71ddfefb24560b5ca3746bf1904.tar.bz2
bottle: make --write handle both quotes styles.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/bottle.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/bottle.rb b/Library/Homebrew/cmd/bottle.rb
index 4c602478b..94028d02b 100644
--- a/Library/Homebrew/cmd/bottle.rb
+++ b/Library/Homebrew/cmd/bottle.rb
@@ -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