aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2012-09-24 09:29:55 -0400
committerMax Howell2012-09-24 09:49:54 -0400
commitca14962ab9a16ccd50a50fbbefe4c1486662bf9c (patch)
tree88428f45d8fc4345e3d3e4c373e8019231a659e5 /Library
parent1ae0e93d7e70b7d784cbc0940f996c49c67c1ceb (diff)
downloadbrew-ca14962ab9a16ccd50a50fbbefe4c1486662bf9c.tar.bz2
Assign DEVELOPER_DIR before it is needed
On a broken set up, setting DEVELOPER_DIR can fix builds, provided it is set early enough to impact them.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/superenv.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/superenv.rb b/Library/Homebrew/superenv.rb
index 2697e80b8..69d0b4bc4 100644
--- a/Library/Homebrew/superenv.rb
+++ b/Library/Homebrew/superenv.rb
@@ -43,6 +43,7 @@ class << ENV
check
ENV['CC'] = 'cc'
ENV['CXX'] = 'c++'
+ ENV['DEVELOPER_DIR'] = determine_developer_dir # effects later settings
ENV['MAKEFLAGS'] ||= "-j#{determine_make_jobs}"
ENV['PATH'] = determine_path
ENV['PKG_CONFIG_PATH'] = determine_pkg_config_path
@@ -55,7 +56,6 @@ class << ENV
ENV['CMAKE_LIBRARY_PATH'] = determine_cmake_library_path
ENV['ACLOCAL_PATH'] = determine_aclocal_path
ENV['VERBOSE'] = '1' if ARGV.verbose?
- ENV['DEVELOPER_DIR'] = determine_developer_dir
end
def check