dev-cmd/prof: use HOMEBREW_RUBY_EXEC_ARGS
This commit is contained in:
parent
e03548fc7a
commit
a54b7a8c15
@ -32,7 +32,7 @@ module Homebrew
|
||||
if args.stackprof?
|
||||
Homebrew.install_gem_setup_path! "stackprof"
|
||||
with_env HOMEBREW_STACKPROF: "1" do
|
||||
system RUBY_PATH, brew_rb, *args.named
|
||||
system(*HOMEBREW_RUBY_EXEC_ARGS, brew_rb, *args.named)
|
||||
end
|
||||
output_filename = "prof/d3-flamegraph.html"
|
||||
safe_system "stackprof --d3-flamegraph prof/stackprof.dump > #{output_filename}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user