aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2012-12-11 13:58:43 -0600
committerJack Nagel2012-12-11 14:01:36 -0600
commit4b6b87c78b1ff7ea2a349851c0a0f2dc7cbff92d (patch)
tree01ea27f48547fca4ed4f7e8b5edf92ee0471c06e /Library
parentceb7970bd789c5787076faceffefcb7870a5e71b (diff)
downloadhomebrew-4b6b87c78b1ff7ea2a349851c0a0f2dc7cbff92d.tar.bz2
Properly escape log filename
Closes #16485.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb2
1 files changed, 1 insertions, 1 deletions
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'