pull: only link changed tap formulae.

This commit is contained in:
Mike McQuaid 2015-02-23 14:57:09 +00:00
parent e50badf11c
commit 07ddf7aab5

View File

@ -107,7 +107,7 @@ module Homebrew
).each_line do |line|
line = line.chomp
name = File.basename(line, ".rb")
changed_formulae_paths << Pathname.new("#{formula_dir}/#{line}")
changed_formulae_paths << Pathname.new("#{formula_dir}/#{line}") if tap_dir
begin
changed_formulae << Formula[name]