Use with_env in brew unpack.
This commit is contained in:
parent
cd402358b0
commit
ce0fa22efb
@ -55,12 +55,13 @@ module Homebrew
|
||||
|
||||
oh1 "Unpacking #{Formatter.identifier(f.full_name)} to: #{stage_dir}"
|
||||
|
||||
ENV["VERBOSE"] = "1" # show messages about tar
|
||||
f.brew do
|
||||
f.patch if args.patch?
|
||||
cp_r getwd, stage_dir, preserve: true
|
||||
# show messages about tar
|
||||
with_env VERBOSE: "1" do
|
||||
f.brew do
|
||||
f.patch if args.patch?
|
||||
cp_r getwd, stage_dir, preserve: true
|
||||
end
|
||||
end
|
||||
ENV["VERBOSE"] = nil
|
||||
|
||||
next unless args.git?
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user