aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/superenv.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/superenv.rb b/Library/Homebrew/superenv.rb
index 69d0b4bc4..73e2324be 100644
--- a/Library/Homebrew/superenv.rb
+++ b/Library/Homebrew/superenv.rb
@@ -185,6 +185,8 @@ class << ENV
# is not "/".
if MacOS::Xcode.bad_xcode_select_path?
(MacOS::Xcode.prefix || HOMEBREW_PREFIX).to_s
+ elsif ENV['DEVELOPER_DIR']
+ ENV['DEVELOPER_DIR']
end
end