Use double bracket conditional compound command 92/64492/3
authorAric Gardner <agardner@linuxfoundation.org>
Thu, 9 Jul 2020 20:09:36 +0000 (16:09 -0400)
committerAric Gardner <agardner@linuxfoundation.org>
Mon, 13 Jul 2020 21:47:09 +0000 (17:47 -0400)
Odd failures in the read the docs jobs
casued by not quoting "$result"

Im going to quote it and switch to double bracket.
Fixed the issue in my testing.

Errors seen were:
jq: error (at <stdin>:1): Cannot index string with string "success"
./script: line 11: [: ==: unary operator expected

Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Change-Id: Ic7554ddfa384b817ad3aac311972e6cfc52e0b49


No differences found