aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/exceptions.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb
index a25a36f56..d104b23dd 100644
--- a/Library/Homebrew/exceptions.rb
+++ b/Library/Homebrew/exceptions.rb
@@ -145,13 +145,12 @@ class FormulaConflictError < Homebrew::InstallationError
end
class BuildError < Homebrew::InstallationError
- attr_reader :command, :env
+ attr_reader :env
def initialize(formula, cmd, args, env)
- @command = cmd
@env = env
args = args.map{ |arg| arg.to_s.gsub " ", "\\ " }.join(" ")
- super formula, "Failed executing: #{command} #{args}"
+ super formula, "Failed executing: #{cmd} #{args}"
end
def issues