aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/tree.rb
diff options
context:
space:
mode:
authorMax Howell2009-09-21 23:50:57 +0100
committerMax Howell2009-09-21 23:50:57 +0100
commite21fcfd5e8038c5feadb5745148dded6dfaf0de3 (patch)
treef821653b3b1cfb1319c7a112a21d7e3a8aa11795 /Library/Formula/tree.rb
parent35b0b61adacc1ecb27a4570be266d7a3d8e5a290 (diff)
downloadhomebrew-e21fcfd5e8038c5feadb5745148dded6dfaf0de3.tar.bz2
ENV.cc; returns the compiler we use
Diffstat (limited to 'Library/Formula/tree.rb')
-rw-r--r--Library/Formula/tree.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Formula/tree.rb b/Library/Formula/tree.rb
index 982b4bb5a..87db1beb8 100644
--- a/Library/Formula/tree.rb
+++ b/Library/Formula/tree.rb
@@ -6,8 +6,7 @@ class Tree <Formula
@md5='a7731a898e2c0d7e422a57a84ffbb06c'
def install
- gcc = ENV['CC'] || "gcc"
- system "#{gcc} #{ENV['CFLAGS']} -o tree tree.c strverscmp.c"
+ system "#{ENV.cc} #{ENV['CFLAGS']} -o tree tree.c strverscmp.c"
bin.install "tree"
man1.install "man/tree.1"