Skip to content

Commit

Permalink
Fix $(dirname) for roslaunch-check. (ros#1624)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikepurvis authored and tahsinkose committed Apr 15, 2019
1 parent b91e03e commit 75db7fd
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 75db7fd

Please sign in to comment.