Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools/fastdds/fastdds needs shebang #3546

Closed
1 task done
SubaruArai opened this issue May 29, 2023 · 2 comments
Closed
1 task done

tools/fastdds/fastdds needs shebang #3546

SubaruArai opened this issue May 29, 2023 · 2 comments

Comments

@SubaruArai
Copy link

Is there an already existing issue for this?

  • I have searched the existing issues

Expected behavior

The scripts should run regardless of the shell used.

Current behavior

It doesn't run with non-POSIX compliant shells (e.g. fish)

Steps to reproduce

  1. start a fish shell (or any non-POSIX compliant shells, that doesn't support var=xxx)
  2. run fastdds or ros-discovery
  3. see how it fails

Fast DDS version/commit

All 2.x.x versions

Platform/Architecture

Ubuntu Focal 20.04 amd64, Ubuntu Focal 20.04 arm64

Transport layer

Default configuration, UDPv4 & SHM

Additional context

It is solvable by adding following shebang:

#! /usr/bin/env sh

To those 2 files:

XML configuration file

No response

Relevant log output

No response

Network traffic capture

No response

@SubaruArai SubaruArai added the triage Issue pending classification label May 29, 2023
@SubaruArai
Copy link
Author

I can't sign the DCO anytime soon, so I posted as an issue.

@SubaruArai SubaruArai changed the title tools/fastdds/fastdds needs proper shebang tools/fastdds/fastdds needs shebang May 29, 2023
@JLBuenoLopez
Copy link
Contributor

JLBuenoLopez commented Jul 20, 2023

Thanks for your report @SubaruArai,

I have issued #3732 to improve the scripts portability.

Regarding the DCO, the only requirement is that your commit is signed which is easy to do using the option -s when committing: git commit -s. So next time you can contribute yourself if you want.

I have labeled this feature as enhancement and consequently I am moving the ticket to the Ideas discussion forum as per Fast DDS CONTRIBUTING guidelines

@JLBuenoLopez JLBuenoLopez added enhancement and removed triage Issue pending classification labels Jul 20, 2023
@eProsima eProsima locked and limited conversation to collaborators Jul 20, 2023
@JLBuenoLopez JLBuenoLopez converted this issue into discussion #3734 Jul 20, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Projects
None yet
Development

No branches or pull requests

2 participants