From 8dafce0d9560439be9466548e15b81f6f1321a2e Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 11 Dec 2012 13:58:43 -0600 Subject: [PATCH] Properly escape log filename Closes Homebrew/homebrew#16485. --- Library/Homebrew/formula.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 3563badecc..337916a0aa 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -554,7 +554,7 @@ protected unless $?.success? unless ARGV.verbose? f.flush - Kernel.system "/usr/bin/tail -n 5 #{logfn}" + Kernel.system "/usr/bin/tail", "-n", "5", logfn end f.puts require 'cmd/--config'