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

build: fix usage of "-z" in fetch-dotnet-snk.sh #1010

Merged
merged 1 commit into from
Oct 25, 2018

Conversation

eladb
Copy link
Contributor

@eladb eladb commented Oct 25, 2018

When using "-z" to check if a variable is not empty,
you must surround it with quotes. Otherwise, bash will evaluate it
to [ -z ] and that's a syntax error which yields a [: too many arguments
error.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license.

When using "-z" to check if a variable is not empty,
you must surround it with quotes. Otherwise, bash will evaluate it
to `[ -z ]` and that's a syntax error which yields a `[: too many arguments`
error.
@eladb eladb merged commit 9281f05 into master Oct 25, 2018
@eladb eladb deleted the benisrae/fix-fetch-dotnet branch October 25, 2018 13:20
@NGL321 NGL321 added the contribution/core This is a PR that came from AWS. label Sep 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution/core This is a PR that came from AWS.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants