aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-12-22 13:43:00 -0600
committerJack Nagel2013-12-22 13:43:00 -0600
commit676f29d7578c7abf1493ee5c3edc4692f9315006 (patch)
tree49d849911b07402f2a30a4a73fd457d11943baf5 /Library
parent5e1cbb50c1a9e566404f8401aea35d6d29028720 (diff)
downloadbrew-676f29d7578c7abf1493ee5c3edc4692f9315006.tar.bz2
Drop unnecessary string conversion in skip_clean
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 585f669ca..056fc9e52 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?