aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compat
diff options
context:
space:
mode:
authorMarkus Reiter2017-10-15 02:28:32 +0200
committerMarkus Reiter2017-10-18 14:39:09 +0200
commit9bee9ca5757d1c5f720787737fed6a534a620d72 (patch)
treeb1eed297d9eb169673d2ed308e5ef3ca3bb09d12 /Library/Homebrew/compat
parent270b752f5d9d218bfbed6fe85b6974fa653fb25f (diff)
downloadbrew-9bee9ca5757d1c5f720787737fed6a534a620d72.tar.bz2
Use “squiggly” heredocs.
Diffstat (limited to 'Library/Homebrew/compat')
-rw-r--r--Library/Homebrew/compat/formula_specialties.rb2
-rw-r--r--Library/Homebrew/compat/hbc/cli.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/compat/formula_specialties.rb b/Library/Homebrew/compat/formula_specialties.rb
index 78966625e..3f8102575 100644
--- a/Library/Homebrew/compat/formula_specialties.rb
+++ b/Library/Homebrew/compat/formula_specialties.rb
@@ -31,7 +31,7 @@ class AmazonWebServicesFormula < Formula
def standard_instructions(home_name, home_value = libexec)
odeprecated "AmazonWebServicesFormula#standard_instructions", "Formula#caveats"
- <<-EOS.undent
+ <<~EOS
Before you can use these tools you must export some variables to your $SHELL.
To export the needed variables, add them to your dotfiles.
diff --git a/Library/Homebrew/compat/hbc/cli.rb b/Library/Homebrew/compat/hbc/cli.rb
index 0173bce9c..60d298ed6 100644
--- a/Library/Homebrew/compat/hbc/cli.rb
+++ b/Library/Homebrew/compat/hbc/cli.rb
@@ -5,7 +5,7 @@ module Hbc
include Options
option "--binarydir=PATH", (lambda do |*|
- opoo <<-EOS.undent
+ opoo <<~EOS
Option --binarydir is obsolete!
Homebrew-Cask now uses the same location as your Homebrew installation for executable links.
EOS