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
commit8dafce0d9560439be9466548e15b81f6f1321a2e (patch)
tree6bc6426da12f9429fe556e17188fa208e41a667d /Library
parent9a4567c2f971320fa63cef3b5e31638a0177aae6 (diff)
downloadbrew-8dafce0d9560439be9466548e15b81f6f1321a2e.tar.bz2
Properly escape log filename
Closes Homebrew/homebrew#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'