main: traverse up to 3 levels for variable search

pull/15/head
William Pitcock 2012-05-05 21:51:59 +00:00
parent 0737a72070
commit 8ff4ae5b16
1 changed files with 2 additions and 2 deletions

4
main.c
View File

@ -305,7 +305,7 @@ pkg_queue_walk(pkg_queue_t *head)
want_cflags = 0; want_cflags = 0;
want_libs = 0; want_libs = 0;
pkg_traverse(&world, print_variables, NULL, 2, global_traverse_flags); pkg_traverse(&world, print_variables, NULL, 3, global_traverse_flags);
} }
if (want_requires) if (want_requires)
@ -363,7 +363,7 @@ pkg_queue_walk(pkg_queue_t *head)
if (want_variable) if (want_variable)
{ {
wanted_something++; wanted_something++;
pkg_traverse(&world, print_variable, NULL, 2, global_traverse_flags); pkg_traverse(&world, print_variable, NULL, 3, global_traverse_flags);
} }
if (wanted_something) if (wanted_something)