diff options
| author | Jack Nagel | 2014-05-27 21:14:59 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-05-27 21:16:15 -0500 |
| commit | 33cdff99bad133f36935dce23f0889c71d70105b (patch) | |
| tree | 3d0a78700a1a4e3b8fc17a36e22555734771966a /Library/Homebrew/cmd | |
| parent | 28fa5b0261b3efef222e8f92f5b3906cccfeb388 (diff) | |
| download | brew-33cdff99bad133f36935dce23f0889c71d70105b.tar.bz2 | |
Make some constant strings into actual constants
We only need one copy of each of these strings, not ~7500.
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/bottle.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/bottle.rb b/Library/Homebrew/cmd/bottle.rb index f9a6e968f..e9e39d49c 100644 --- a/Library/Homebrew/cmd/bottle.rb +++ b/Library/Homebrew/cmd/bottle.rb @@ -9,7 +9,7 @@ require 'extend/pathname' BOTTLE_ERB = <<-EOS bottle do - <% if root_url != BottleSpecification.new.root_url %> + <% if root_url != BottleSpecification::DEFAULT_ROOT_URL %> root_url "<%= root_url %>" <% end %> <% if prefix.to_s != "/usr/local" %> |
