aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/sh.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd/sh.rb')
-rw-r--r--Library/Homebrew/cmd/sh.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/sh.rb b/Library/Homebrew/cmd/sh.rb
index 65c5c2b0d..e48313a77 100644
--- a/Library/Homebrew/cmd/sh.rb
+++ b/Library/Homebrew/cmd/sh.rb
@@ -7,7 +7,7 @@ module Homebrew
if superenv?
ENV.x11 = MacOS::X11.installed?
- ENV.deps = Formula.installed.select{|f| f.keg_only? and f.opt_prefix.directory? }.map(&:name)
+ ENV.deps = Formula.installed.select { |f| f.keg_only? && f.opt_prefix.directory? }
end
ENV.setup_build_environment
if superenv?