From 1fb85efce5e47a832f187f9c8ee12bc42649fa3a Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Mon, 4 Apr 2011 16:56:47 -0700 Subject: Rewrite caveats to new style. To make it easier to copy and paste multiline scripts from caveats, no longer use $ as a prompt marker. --- Library/Formula/llvm.rb | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'Library/Formula/llvm.rb') 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 -- cgit v1.2.3