diff options
| author | Max Howell | 2010-03-09 02:10:40 +0000 |
|---|---|---|
| committer | Adam Vandenberg | 2010-07-18 10:44:44 -0700 |
| commit | 5d75197c043d5967a3000e8fe4b94f16c11a6a81 (patch) | |
| tree | c273aae793d5109a2c759b95c8818611d6c84bd9 /Library | |
| parent | 826ab8be71a7e3d5acbfed0f3ea4a6cd3498f6eb (diff) | |
| download | brew-5d75197c043d5967a3000e8fe4b94f16c11a6a81.tar.bz2 | |
Some String.dedent action
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula_installer.rb | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 00bef0023..0a22ab4f0 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -22,25 +22,25 @@ class FormulaInstaller def pyerr dep brew_pip = ' brew install pip &&' unless Formula.factory('pip').installed? - <<-EOS -Unsatisfied dependency, #{dep} -Homebrew does not provide formula for Python dependencies, pip does: + <<-EOS.dedent + Unsatisfied dependency, #{dep} + Homebrew does not provide formula for Python dependencies, pip does: - #{brew_pip} pip install #{dep} + #{brew_pip} pip install #{dep} EOS end - def plerr dep; <<-EOS -Unsatisfied dependency, #{dep} -Homebrew does not provide formula for Perl dependencies, cpan does: + def plerr dep; <<-EOS.dedent + Unsatisfied dependency, #{dep} + Homebrew does not provide formula for Perl dependencies, cpan does: - cpan -i #{dep} + cpan -i #{dep} EOS end - def rberr dep; <<-EOS -Unsatisfied dependency "#{dep}" -Homebrew does not provide formulae for Ruby dependencies, rubygems does: + def rberr dep; <<-EOS.dedent + Unsatisfied dependency "#{dep}" + Homebrew does not provide formulae for Ruby dependencies, rubygems does: - gem install #{dep} + gem install #{dep} EOS end def jrberr dep; <<-EOS |
