brew deps --1 does not recurse
This commit is contained in:
parent
1f1da9266c
commit
b2d034b661
5
bin/brew
5
bin/brew
@ -298,8 +298,11 @@ begin
|
|||||||
our_deps = []
|
our_deps = []
|
||||||
checked = {}
|
checked = {}
|
||||||
to_check = [name]
|
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
|
item = to_check.pop
|
||||||
checked[item] = true
|
checked[item] = true
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user