From dbcae5b49983caf5031bee63ee9addf519f83850 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Thu, 19 Jul 2018 00:47:52 +0200 Subject: [PATCH] Don't pass down basename when extracting nestedly. --- Library/Homebrew/unpack_strategy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/unpack_strategy.rb b/Library/Homebrew/unpack_strategy.rb index 5062deb5f7..7c302e2b61 100644 --- a/Library/Homebrew/unpack_strategy.rb +++ b/Library/Homebrew/unpack_strategy.rb @@ -79,7 +79,7 @@ class UnpackStrategy if children.count == 1 && !children.first.directory? s = self.class.detect(children.first) - s.extract_nestedly(to: to, basename: basename) + s.extract_nestedly(to: to) next end