From c8cd720e200749f66f52cd9348d4b109d28bdfdd Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 21 Apr 2015 20:46:02 -0400 Subject: Inline error message --- Library/Homebrew/global.rb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'Library/Homebrew') diff --git a/Library/Homebrew/global.rb b/Library/Homebrew/global.rb index 556276546..442671518 100644 --- a/Library/Homebrew/global.rb +++ b/Library/Homebrew/global.rb @@ -107,9 +107,3 @@ HOMEBREW_PULL_OR_COMMIT_URL_REGEX = %r[https://github\.com/([\w-]+)/homebrew(-[\ require 'compat' unless ARGV.include? "--no-compat" or ENV['HOMEBREW_NO_COMPAT'] ORIGINAL_PATHS = ENV['PATH'].split(File::PATH_SEPARATOR).map{ |p| Pathname.new(p).expand_path rescue nil }.compact.freeze - -SUDO_BAD_ERRMSG = <<-EOS.undent - You can use brew with sudo, but only if the brew executable is owned by root. - However, this is both not recommended and completely unsupported so do so at - your own risk. -EOS -- cgit v1.2.3