aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/--env.rb7
1 files changed, 2 insertions, 5 deletions
diff --git a/Library/Homebrew/cmd/--env.rb b/Library/Homebrew/cmd/--env.rb
index 1a78f3cfd..45af51391 100644
--- a/Library/Homebrew/cmd/--env.rb
+++ b/Library/Homebrew/cmd/--env.rb
@@ -3,13 +3,10 @@ require "extend/ENV"
module Homebrew
def __env
ENV.activate_extensions!
-
- if superenv?
- ENV.deps = ARGV.formulae.map(&:name) unless ARGV.named.empty?
- end
-
+ ENV.deps = ARGV.formulae.map(&:name) if superenv?
ENV.setup_build_environment
ENV.universal_binary if ARGV.build_universal?
+
if $stdout.tty?
dump_build_env ENV
else