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
commit21e57856528a18ffb28393592165d7809ffdd319 (patch)
tree8742ef4f84337011910cd7c42a334daf60db8c79 /Library
parent9a83f63c21880f782233b23abac2f820a2c3c18d (diff)
downloadbrew-21e57856528a18ffb28393592165d7809ffdd319.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