aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/boost.rb
diff options
context:
space:
mode:
authorJack Nagel2012-05-15 13:47:30 -0500
committerJack Nagel2012-05-15 14:03:12 -0500
commitbe48f383bf0673ee23f5911c820422121f42076b (patch)
tree38591d575c4e7e3267d78f033f52b6b5837c3419 /Library/Formula/boost.rb
parent417d7880702a645a5efd272a42dd03a8e7419035 (diff)
downloadhomebrew-be48f383bf0673ee23f5911c820422121f42076b.tar.bz2
Use ENV shortcut methods where applicable
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/boost.rb')
-rw-r--r--Library/Formula/boost.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/boost.rb b/Library/Formula/boost.rb
index eeee0a135..e37e82705 100644
--- a/Library/Formula/boost.rb
+++ b/Library/Formula/boost.rb
@@ -67,7 +67,7 @@ class Boost < Formula
# Force boost to compile using the appropriate GCC version
open("user-config.jam", "a") do |file|
- file.write "using darwin : : #{ENV['CXX']} ;\n"
+ file.write "using darwin : : #{ENV.cxx} ;\n"
file.write "using mpi ;\n" if ARGV.include? '--with-mpi'
end