Skip to content

Commit

Permalink
unpack_strategy/zip: allow unzip formula to be used
Browse files Browse the repository at this point in the history
  • Loading branch information
Bo98 committed Mar 2, 2022
1 parent f07a44f commit 83a0479
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Library/Homebrew/unpack_strategy/zip.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def extract_to_dir(unpack_dir, basename:, verbose:)
quiet_flags = verbose ? [] : ["-qq"]
result = system_command! "unzip",
args: [*quiet_flags, "-o", path, "-d", unpack_dir],
env: { "PATH" => PATH.new(Formula["unzip"].opt_bin, ENV["PATH"]) },
verbose: verbose,
print_stderr: false

Expand Down

0 comments on commit 83a0479

Please sign in to comment.