From 4b6b87c78b1ff7ea2a349851c0a0f2dc7cbff92d Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 11 Dec 2012 13:58:43 -0600 Subject: Properly escape log filename Closes #16485. --- Library/Homebrew/formula.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 3563badec..337916a0a 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' -- cgit v1.2.3