aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2014-03-04 17:34:12 +0000
committerMike McQuaid2014-03-04 17:34:21 +0000
commit0f6ed3ecc7888945f41b54150376aa25fa580d22 (patch)
treec9c070ffa2b90e1457060cfb53d90af5593818bb /Library
parentd1fbf3293dae8366b83622c3105e37d644d8bef7 (diff)
downloadhomebrew-0f6ed3ecc7888945f41b54150376aa25fa580d22.tar.bz2
bottle: fix bottling Git tag case.
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 4e99f3d83..de4c7da96 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