bottle: use new quoting style.
This commit is contained in:
parent
f2885bbb6d
commit
91f7f68ec4
@ -17,13 +17,13 @@ end
|
|||||||
|
|
||||||
BOTTLE_ERB = <<-EOS
|
BOTTLE_ERB = <<-EOS
|
||||||
bottle do
|
bottle do
|
||||||
<% if prefix.to_s != '/usr/local' %>
|
<% if prefix.to_s != "/usr/local" %>
|
||||||
prefix '<%= prefix %>'
|
prefix "<%= prefix %>"
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if cellar.is_a? Symbol %>
|
<% if cellar.is_a? Symbol %>
|
||||||
cellar :<%= cellar %>
|
cellar :<%= cellar %>
|
||||||
<% elsif cellar.to_s != '/usr/local/Cellar' %>
|
<% elsif cellar.to_s != "/usr/local/Cellar" %>
|
||||||
cellar '<%= cellar %>'
|
cellar "<%= cellar %>"
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if revision > 0 %>
|
<% if revision > 0 %>
|
||||||
revision <%= revision %>
|
revision <%= revision %>
|
||||||
@ -31,7 +31,7 @@ BOTTLE_ERB = <<-EOS
|
|||||||
<% checksums.each do |checksum_type, checksum_values| %>
|
<% checksums.each do |checksum_type, checksum_values| %>
|
||||||
<% checksum_values.each do |checksum_value| %>
|
<% checksum_values.each do |checksum_value| %>
|
||||||
<% checksum, osx = checksum_value.shift %>
|
<% checksum, osx = checksum_value.shift %>
|
||||||
<%= checksum_type %> '<%= checksum %>' => :<%= osx %>
|
<%= checksum_type %> "<%= checksum %>" => :<%= osx %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user