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}"
|
oh1 "Unpacking #{Formatter.identifier(f.full_name)} to: #{stage_dir}"
|
||||||
|
|
||||||
ENV["VERBOSE"] = "1" # show messages about tar
|
# show messages about tar
|
||||||
f.brew do
|
with_env VERBOSE: "1" do
|
||||||
f.patch if args.patch?
|
f.brew do
|
||||||
cp_r getwd, stage_dir, preserve: true
|
f.patch if args.patch?
|
||||||
|
cp_r getwd, stage_dir, preserve: true
|
||||||
|
end
|
||||||
end
|
end
|
||||||
ENV["VERBOSE"] = nil
|
|
||||||
|
|
||||||
next unless args.git?
|
next unless args.git?
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user