Skip to content
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

Closed
wants to merge 5 commits into from
Closed

Fix issues found by shellcheck - attempt 2 #3652

wants to merge 5 commits into from

Conversation

a1346054
Copy link
Contributor

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.

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
@laurent22
Copy link
Owner

laurent22 commented Aug 20, 2020

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.

@laurent22
Copy link
Owner

Closing due to above reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants