-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Fix issues found by shellcheck - attempt 2 #3652
Conversation
This issue was identified by [shellcheck](https://www.shellcheck.net/). More information about this particular fix: https://www.shellcheck.net/wiki/SC2006
This issue was identified by [shellcheck](https://www.shellcheck.net/). More information about this particular fix: https://www.shellcheck.net/wiki/SC2236
Fixes behavior where TEMP_DIR is manually changed to point to a different location, for example if /tmp does not have enough space. If this new location contains spaces, the script would break. Issue was identified by [shellcheck](https://www.shellcheck.net/). More information about this fix: https://www.shellcheck.net/wiki/SC2086
Sorry but the issue is still the same. I can see there are good fixes in there like quotes around paths, but the truth is I don't want to have to review and check this, especially since the script mostly works. There might be some subtle issues in there too, which will cause more support needed when we release it. We have very limited resources here so when something works we tend to keep it as it is. |
Closing due to above reason. |
This is a new version of #3648
I have broken down the fixes into individual commits, with brief explanations and links to resources that explain the reasoning in more detail.
None of the changes affect current behavior of the script. They make the script more consistent with current best coding practices and more resilient against future issues.