Sdkenv.sh scripts check for system-shell not beeing `dash`

Why does the script sdkenv.sh expect the system shell not to be dash?
The shell of the user who is using the SDK is explicitly set to bash.
Why should the VxWorks SDK rely on this system-wide setting?
Current versions of Debian and Ubuntu do not allow the “system shell” to be modified manually without changing the symlink. This, in turn, can negatively affect overall system behavior.

The VxWorks host tools for Linux are using bash, and the SDK inherits the same configuration. This doesn’t mean dash will not work in any circumstances, it may just mean that the tools have not been validated using dash as the default shell.

But why depending on the system-setting nad not the default setting?

Furthermore the script exits early with return 1.
Maybe a printing a warning and continuing would be sufficient.

If any Wind River Shell-Script strictly depends on bash it should place #!/bin/bashinstead of /bin/sh

Regards Thomas

Thank you for your suggestions. Feel free to comment or update the shell validation check in sdkenv.sh. If you encounter any issues, please document them and share them on this forum.

Thanks!
Dan