From 3aa313a38d2e83da9d15765576ed7edc05ce6e14 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 26 Jul 2014 20:11:53 -0500 Subject: Switch from backticks to Utils.popen_read --- Library/Homebrew/cmd/update.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Homebrew/cmd/update.rb b/Library/Homebrew/cmd/update.rb index 85cc3014b..d788bced6 100644 --- a/Library/Homebrew/cmd/update.rb +++ b/Library/Homebrew/cmd/update.rb @@ -188,7 +188,7 @@ class Updater end def diff - `git diff-tree -r --name-status --diff-filter=AMD #{initial_revision} #{current_revision}` + Utils.popen_read("git", "diff-tree", "-r", "--name-status", "--diff-filter=AMD", initial_revision, current_revision) end def `(cmd) -- cgit v1.2.3