fix rosmake for non-empty stacks (fix #4068)
This commit is contained in:
parent
879f10a396
commit
4f6098f854
|
@ -761,9 +761,10 @@ class RosMakeAll:
|
|||
|
||||
required_packages = self.specified_packages[:]
|
||||
|
||||
# catch dependent packages which are inside of zero sized stacks #3528
|
||||
# catch packages of dependent stacks when specified stack is zero-sized #3528
|
||||
# add them to required list but not the specified list.
|
||||
for s in stacks_arguments:
|
||||
if not rosstack.packages_of(s):
|
||||
for d in rosstack.get_depends(s, implicit=False):
|
||||
try:
|
||||
required_packages.extend(rosstack.packages_of(d))
|
||||
|
|
Loading…
Reference in New Issue