diff options
| author | Adam Vandenberg | 2011-04-04 16:56:47 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-04-04 16:56:47 -0700 |
| commit | 1fb85efce5e47a832f187f9c8ee12bc42649fa3a (patch) | |
| tree | bfaf9f7b0f5eb90f8d184179c0fa962621514240 /Library/Formula/llvm.rb | |
| parent | f9f90beaa129c78ab31a24c49960dce2455d9eda (diff) | |
| download | homebrew-1fb85efce5e47a832f187f9c8ee12bc42649fa3a.tar.bz2 | |
Rewrite caveats to new style.
To make it easier to copy and paste multiline scripts from caveats,
no longer use $ as a prompt marker.
Diffstat (limited to 'Library/Formula/llvm.rb')
| -rw-r--r-- | Library/Formula/llvm.rb | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/Library/Formula/llvm.rb b/Library/Formula/llvm.rb index 20ed3cb4f..e9ab9accb 100644 --- a/Library/Formula/llvm.rb +++ b/Library/Formula/llvm.rb @@ -61,22 +61,20 @@ class Llvm < Formula system "make" # separate steps required, otherwise the build fails system "make install" - if build_clang? - Dir.chdir clang_dir do - system "make install" - end - end + Dir.chdir clang_dir do + system "make install" + end if build_clang? end - def caveats; <<-EOS - If you already have LLVM installed, then "brew upgrade llvm" might not - work. Instead, try: - $ brew rm llvm - $ brew install llvm + def caveats; <<-EOS.undent + If you already have LLVM installed, then "brew upgrade llvm" might not work. + Instead, try: + brew rm llvm & brew install llvm EOS end end + __END__ diff --git a/Makefile.rules b/Makefile.rules index 9cff105..44d5b2d 100644 |
