aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2012-09-25 10:36:45 -0400
committerMax Howell2012-09-25 11:31:56 -0400
commit074d4268863c28d3208e8f4daeb6fb529f2b193a (patch)
tree7049643eaf971a157a827fdbff83c799c142493c /Library
parent44e6db11cf713094bfa65f320b042863847787af (diff)
downloadhomebrew-074d4268863c28d3208e8f4daeb6fb529f2b193a.tar.bz2
Don't unset DEVELOPER_DIR if set
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