From 33cdff99bad133f36935dce23f0889c71d70105b Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 27 May 2014 21:14:59 -0500 Subject: Make some constant strings into actual constants We only need one copy of each of these strings, not ~7500. --- Library/Homebrew/cmd/bottle.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/cmd') 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" %> -- cgit v1.2.3