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

Improve shell script syntax #174

Merged
merged 3 commits into from
May 27, 2020
Merged

Conversation

PeterDaveHello
Copy link
Contributor

@PeterDaveHello PeterDaveHello commented Mar 16, 2020

Improve some scripts

PeterDaveHello and others added 3 commits March 16, 2020 18:08
Reference:

https://github.com/koalaman/shellcheck/wiki/SC2070

```
 [ -n ${TFENV_ROOT} ] || early_death "Failed to 'cd \"\$(dirname \"\$(readlink_f \"${0}\")\")/..\" && pwd' while trying to determine TFENV_ROOT";
      ^-----------^ SC2070: -n doesn't work with unquoted arguments. Quote or use [[ ]].
```
@Zordrak
Copy link
Collaborator

Zordrak commented May 26, 2020

Thank you!

@PeterDaveHello
Copy link
Contributor Author

I can rebase the branch on the latest master branch if you want ;)

@Zordrak
Copy link
Collaborator

Zordrak commented May 27, 2020

Don't worry about the rebases.. the tests are taking forever, I'm trying to deal with as many PRs as I can in bulk

@Zordrak Zordrak merged commit d423b93 into tfutils:master May 27, 2020
@PeterDaveHello PeterDaveHello deleted the improve-syntax branch May 29, 2020 13:53
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