From 676f29d7578c7abf1493ee5c3edc4692f9315006 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 22 Dec 2013 13:43:00 -0600 Subject: [PATCH] Drop unnecessary string conversion in skip_clean --- Library/Homebrew/formula.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 585f669cad..056fc9e528 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -766,10 +766,7 @@ class Formula return end - paths.each do |p| - p = p.to_s unless p == :la # Keep :la in paths as a symbol - skip_clean_paths << p - end + skip_clean_paths.merge(paths) end def skip_clean_all?