aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorMike McQuaid2016-07-12 12:01:20 +0100
committerGitHub2016-07-12 12:01:20 +0100
commit0d189fae57bad6c209b471eba9e0b254a2b40886 (patch)
tree8706f4e139b41e6680df92b6886c78a3493aa9e0 /Library/Homebrew/cmd
parent498e81c9fcd3bfef4a14eb0fddce51af892b1e9d (diff)
downloadbrew-0d189fae57bad6c209b471eba9e0b254a2b40886.tar.bz2
superenv: port to generic OS. (#457)
Diffstat (limited to 'Library/Homebrew/cmd')
-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 3720124b7..11f57b660 100644
--- a/Library/Homebrew/cmd/sh.rb
+++ b/Library/Homebrew/cmd/sh.rb
@@ -13,7 +13,7 @@ module Homebrew
ENV.activate_extensions!
if superenv?
- ENV.x11 = MacOS::X11.installed?
+ ENV.set_x11_env_if_installed
ENV.deps = Formula.installed.select { |f| f.keg_only? && f.opt_prefix.directory? }
end
ENV.setup_build_environment