Skip to content

Commit

Permalink
Allow $(find ...) as result of $(arg ...)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaschke committed Mar 1, 2024
1 parent c16d1e3 commit 9269e62
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions xacro/substitution_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,11 @@ def resolve_args(arg_str, context=None, filename=None):
'find': _find,
}
resolved = _resolve_args(arg_str, context, commands)
# then resolve 'find' as it requires the subsequent path to be expanded already
commands = {
"find": _find,
}
resolved = _resolve_args(resolved, context, commands)
return resolved


Expand Down

0 comments on commit 9269e62

Please sign in to comment.