diff --git a/Library/Homebrew/brew.sh b/Library/Homebrew/brew.sh index b7cd76995b..3679d4af40 100644 --- a/Library/Homebrew/brew.sh +++ b/Library/Homebrew/brew.sh @@ -100,12 +100,12 @@ then # Refuse to run on pre-Mavericks if [[ "$HOMEBREW_MACOS_VERSION_NUMERIC" -lt "100900" ]] then - printf "ERROR: Your version of macOS (%s) is too old to run Homebrew!" "$HOMEBREW_MACOS_VERSION" >&2 + printf "ERROR: Your version of macOS (%s) is too old to run Homebrew!\\n" "$HOMEBREW_MACOS_VERSION" >&2 if [[ "$HOMEBREW_MACOS_VERSION_NUMERIC" -lt "100700" ]] then - printf " For 10.4 - 10.6 support see: https://github.com/mistydemeo/tigerbrew\n" >&2 + printf " For 10.4 - 10.6 support see: https://github.com/mistydemeo/tigerbrew\\n" >&2 fi - printf "\n" >&2 + printf "\\n" >&2 fi # The system Curl is too old for some modern HTTPS certificates on diff --git a/Library/Homebrew/cask/artifact/relocated.rb b/Library/Homebrew/cask/artifact/relocated.rb index 85ae8fa9d9..59fa34a0bc 100644 --- a/Library/Homebrew/cask/artifact/relocated.rb +++ b/Library/Homebrew/cask/artifact/relocated.rb @@ -52,7 +52,7 @@ module Cask ALT_NAME_ATTRIBUTE = "com.apple.metadata:kMDItemAlternateNames".freeze - # Try to make the asset searchable under the target name. Spotlight + # Try to make the asset searchable under the target name. Spotlight # respects this attribute for many filetypes, but ignores it for App # bundles. Alfred 2.2 respects it even for App bundles. def add_altname_metadata(file, altname, command: nil) diff --git a/Library/Homebrew/cask/exceptions.rb b/Library/Homebrew/cask/exceptions.rb index 9735496258..129f5165c5 100644 --- a/Library/Homebrew/cask/exceptions.rb +++ b/Library/Homebrew/cask/exceptions.rb @@ -133,8 +133,8 @@ module Cask Checksum for Cask '#{token}' does not match. Expected: #{Formatter.success(expected.to_s)} - Actual: #{Formatter.error(actual.to_s)} - File: #{path} + Actual: #{Formatter.error(actual.to_s)} + File: #{path} To retry an incomplete download, remove the file above. If the issue persists, visit: diff --git a/Library/Homebrew/cmd/gist-logs.rb b/Library/Homebrew/cmd/gist-logs.rb index dbe0ad1810..ae59fc6ea9 100644 --- a/Library/Homebrew/cmd/gist-logs.rb +++ b/Library/Homebrew/cmd/gist-logs.rb @@ -49,8 +49,8 @@ module Homebrew unless f.core_formula? tap = <<~EOS Formula: #{f.name} - Tap: #{f.tap} - Path: #{f.path} + Tap: #{f.tap} + Path: #{f.path} EOS files["00.tap.out"] = { content: tap } end diff --git a/Library/Homebrew/cmd/vendor-install.sh b/Library/Homebrew/cmd/vendor-install.sh index 722db3aefc..98b246cc16 100644 --- a/Library/Homebrew/cmd/vendor-install.sh +++ b/Library/Homebrew/cmd/vendor-install.sh @@ -152,8 +152,8 @@ EOSCRIPT odie <