Don't unset DEVELOPER_DIR if set

This commit is contained in:
Max Howell 2012-09-25 10:36:45 -04:00
parent d0f707f893
commit 382fa27520

View File

@ -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