Skip to content

Commit

Permalink
Fix $(dirname) for roslaunch-check. (#1624)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikepurvis authored and dirk-thomas committed Aug 4, 2020
1 parent 1bd134f commit 6625217
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/roslaunch/src/roslaunch/depends.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ def _parse_subcontext(tags, context):
return subcontext

def _parse_launch(tags, launch_file, file_deps, verbose, context):
context['filename'] = os.path.abspath(launch_file)
dir_path = os.path.dirname(os.path.abspath(launch_file))
launch_file_pkg = rospkg.get_package_name(dir_path)

Expand Down

0 comments on commit 6625217

Please sign in to comment.