[BUG] Relenv packaging shell scripts should use shellcheck to validate scripts #63517
Closed
9 tasks
Labels
Milestone
Description
Need to add shellcheck to verify the validity of shell scripts to ensure that they are correct
For example: the current salt-call is using backticks around dirname
While I am an old UNIX hand and fine with backticks, modern practice is to use $() rather than backticks.
This is just one example of bad practice in scripts. Shellcheck is used on other repositories with VMware (other Salt repos) to ensure that shell scripts are correct and appropriate with basic security issues cleaned up.
Presumming /usr/bin should have symbolic links from /usr/bin into /opt/saltstack/salt
Please be as specific as possible and give set-up details.
Steps to Reproduce the behavior
(Include debug logs if possible and relevant)
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)PASTE HERE
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: