-
Notifications
You must be signed in to change notification settings - Fork 180
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
shellcheck #1041
shellcheck #1041
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AndreasLMeg variables.sh has "set -a" which automatically exports all variables.
ON_TTY is used by some scripts that "source variables.sh"
@EricClaeys I am aware that some anomalies probably cannot be fixed either.
That's why I defined the exceptions.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
There are many functionally important bash files in the system.
Therefore, special attention should be paid to syntax and coding guidelines.
I'm not very familiar with the bash specifics, so it would be particularly important to me to check it with external tools (experts).
For this I found bash -h and shellcheck.
Shellcheck is very precise, so I excluded all existing warnings at the beginning.
Please check, there may be potential errors
(please use squash to merge the PR)