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
commit382fa275201da72bfe7c6c4539ab56b3de0a1010 (patch)
tree968431b95bf8ec001bc09c5ad723bf16d553bb6b /Library
parentd0f707f893c4d8e07e07fa89362b626ffc8ed55e (diff)
downloadbrew-382fa275201da72bfe7c6c4539ab56b3de0a1010.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