From: Aric Gardner Date: Thu, 9 Jul 2020 20:09:36 +0000 (-0400) Subject: Use double bracket conditional compound command X-Git-Tag: v0.55.2~4^2 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=b6e270851b4e1eca28b2fbef85598f40d1bed90e;hp=b6e270851b4e1eca28b2fbef85598f40d1bed90e;p=releng%2Fglobal-jjb.git Use double bracket conditional compound command 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 :1): Cannot index string with string "success" ./script: line 11: [: ==: unary operator expected Signed-off-by: Aric Gardner Change-Id: Ic7554ddfa384b817ad3aac311972e6cfc52e0b49 ---