diff options
| author | Mike McQuaid | 2014-01-18 21:40:52 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-01-19 10:06:46 -0800 |
| commit | 91f7f68ec453208bb2d933cb8504441232725200 (patch) | |
| tree | 9173c9c4e86f4f9573cb670dc023e8aaae889ccc /Library | |
| parent | f2885bbb6df5191aa3ebe0e41659b99a46bc6e2a (diff) | |
| download | brew-91f7f68ec453208bb2d933cb8504441232725200.tar.bz2 | |
bottle: use new quoting style.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/bottle.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Homebrew/cmd/bottle.rb b/Library/Homebrew/cmd/bottle.rb index 0c1891ea9..1c3c7ab81 100644 --- a/Library/Homebrew/cmd/bottle.rb +++ b/Library/Homebrew/cmd/bottle.rb @@ -17,13 +17,13 @@ end BOTTLE_ERB = <<-EOS bottle do - <% if prefix.to_s != '/usr/local' %> - prefix '<%= prefix %>' + <% if prefix.to_s != "/usr/local" %> + prefix "<%= prefix %>" <% end %> <% if cellar.is_a? Symbol %> cellar :<%= cellar %> - <% elsif cellar.to_s != '/usr/local/Cellar' %> - cellar '<%= cellar %>' + <% elsif cellar.to_s != "/usr/local/Cellar" %> + cellar "<%= cellar %>" <% end %> <% if revision > 0 %> revision <%= revision %> @@ -31,7 +31,7 @@ BOTTLE_ERB = <<-EOS <% checksums.each do |checksum_type, checksum_values| %> <% checksum_values.each do |checksum_value| %> <% checksum, osx = checksum_value.shift %> - <%= checksum_type %> '<%= checksum %>' => :<%= osx %> + <%= checksum_type %> "<%= checksum %>" => :<%= osx %> <% end %> <% end %> end |
