aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2014-05-12 12:37:24 -0700
committerAdam Vandenberg2014-05-12 12:43:40 -0700
commitb57b1a46b7ef05a7eb740bfedc88342abfceda24 (patch)
tree42bf48d384f2a4d1fb42d92e420742c9aecdf2d9 /Library/Formula
parent6ae896aa98d2bbe35c11d903648275b0b413d6c4 (diff)
downloadhomebrew-b57b1a46b7ef05a7eb740bfedc88342abfceda24.tar.bz2
llvm: simplify installing resource
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/llvm.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Formula/llvm.rb b/Library/Formula/llvm.rb
index 65a493563..f5ae03118 100644
--- a/Library/Formula/llvm.rb
+++ b/Library/Formula/llvm.rb
@@ -28,9 +28,7 @@ class Llvm < Formula
raise 'The Python bindings need the shared library.'
end
- resource('clang').stage do
- (buildpath/'tools/clang').install Dir['*']
- end if build.with? 'clang'
+ (buildpath/"tools/clang").install resource("clang") if build.with? "clang"
if build.universal?
ENV['UNIVERSAL'] = '1'