Skip to content

Commit

Permalink
Don't hard-code HOME as /home/buildfarm.
Browse files Browse the repository at this point in the history
Whether or not keeping the ubuntu user when it exists as uid 1000 is the
way forward we shouldn't hard-code paths we can get from the
environment.
  • Loading branch information
nuclearsandwich committed Mar 16, 2024
1 parent d6a4fa7 commit 2a23971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ros_buildfarm/scripts/doc/build_rosdoc2.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def main(argv=sys.argv[1:]):
env['PATH'] = ''
else:
env['PATH'] += ':'
env['PATH'] += '/home/buildfarm/.local/bin'
env['PATH'] += os.path.join(env['HOME'], '.local/bin')

source_space = os.path.join(args.workspace_root, 'src')
print("Crawling for packages in workspace '%s'" % (source_space))
Expand Down

0 comments on commit 2a23971

Please sign in to comment.