brew deps --1 does not recurse

This commit is contained in:
Adam Vandenberg 2010-07-20 21:36:27 -07:00
parent 1f1da9266c
commit b2d034b661

View File

@ -298,8 +298,11 @@ begin
our_deps = []
checked = {}
to_check = [name]
stop_early = false
until to_check.empty? or stop_early
stop_early = ARGV.include?("-1") or ARGV.include?("--1")
until to_check.empty?
item = to_check.pop
checked[item] = true