Skip to content

Fixing typo, according to man test, string equality is tested with = not == - #236

Open
delapuente wants to merge 1 commit into
askeing:masterfrom
delapuente:fixing-test-in-ota-update
Open

Fixing typo, according to man test, string equality is tested with = not ==#236
delapuente wants to merge 1 commit into
askeing:masterfrom
delapuente:fixing-test-in-ota-update

Conversation

@delapuente

Copy link
Copy Markdown

No description provided.

@delapuente

Copy link
Copy Markdown
Author

I've detected the use of == in more places. If you want me to replace all of them, just say it and I will be glad to change them:

@askeing

askeing commented Aug 6, 2014

Copy link
Copy Markdown
Owner

I found that there is no difference between == and =.
The == should works on your environment.

Ref:
http://www.tldp.org/LDP/abs/html/refcards.html#AEN22473
http://stackoverflow.com/questions/3265803/bash-string-equality

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