aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/bottle.rb
diff options
context:
space:
mode:
authorBaptiste Fontaine2015-12-26 23:00:38 +0100
committerBaptiste Fontaine2015-12-26 23:00:38 +0100
commit169b8fc03942397bd0f73bb008e915b834605cff (patch)
tree437c7421ae4bc9c0960a63d4e5a0632b729a4990 /Library/Homebrew/cmd/bottle.rb
parent48681c3f3a562709dcc1c3256df97ff747fae4d8 (diff)
downloadbrew-169b8fc03942397bd0f73bb008e915b834605cff.tar.bz2
Revert "minor perf improvements"
This reverts commit 16a2a8274a7808e63a6c78475e12a7c0ef5812ef.
Diffstat (limited to 'Library/Homebrew/cmd/bottle.rb')
-rw-r--r--Library/Homebrew/cmd/bottle.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/bottle.rb b/Library/Homebrew/cmd/bottle.rb
index 574c3c69d..83f1147c5 100644
--- a/Library/Homebrew/cmd/bottle.rb
+++ b/Library/Homebrew/cmd/bottle.rb
@@ -36,8 +36,7 @@ MAXIMUM_STRING_MATCHES = 100
module Homebrew
def keg_contains(string, keg, ignores)
- @put_string_exists_header = nil
- @put_filenames = nil
+ @put_string_exists_header, @put_filenames = nil
def print_filename(string, filename)
unless @put_string_exists_header