From 891be1ec64f04758ba6063043b3d58cf924dbb26 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Sun, 22 Jul 2018 19:27:49 +0200 Subject: [PATCH] Add `verbose` to `FileUtils` calls. --- Library/Homebrew/unpack_strategy.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/unpack_strategy.rb b/Library/Homebrew/unpack_strategy.rb index e830091b43..99d93f863a 100644 --- a/Library/Homebrew/unpack_strategy.rb +++ b/Library/Homebrew/unpack_strategy.rb @@ -96,7 +96,7 @@ class DirectoryUnpackStrategy < UnpackStrategy private def extract_to_dir(unpack_dir, basename:, verbose:) - FileUtils.cp_r File.join(path, "."), unpack_dir, preserve: true + FileUtils.cp_r File.join(path, "."), unpack_dir, preserve: true, verbose: verbose end end @@ -106,7 +106,7 @@ class UncompressedUnpackStrategy < UnpackStrategy private def extract_to_dir(unpack_dir, basename:, verbose:) - FileUtils.cp path, unpack_dir/basename, preserve: true + FileUtils.cp path, unpack_dir/basename, preserve: true, verbose: verbose end end