diff options
author | Tom Hughes <tomhughes@chromium.org> | 2022-08-30 11:11:10 -0700 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-09-02 21:17:36 +0000 |
commit | 8ec2990580eed9e83f1e8df4fc3e671179fa9ed0 (patch) | |
tree | b84256b2cb506cca7120e72db74610893f73bdfb | |
parent | 9fe4518d3dafa11691a2039d1b52d230ae636e1e (diff) | |
download | chrome-ec-8ec2990580eed9e83f1e8df4fc3e671179fa9ed0.tar.gz |
util/flash_ec: Disable shellcheck warnings
These shellcheck warnings in this script don't appear to cause problems
and don't have easy fixes, so we'll disable them so that flash_ec is
free of any shellcheck warnings.
BRANCH=none
BUG=b:242127759
TEST=./util/flash_ec --board=dartmonkey
Signed-off-by: Tom Hughes <tomhughes@chromium.org>
Change-Id: Ie5db0b19f254c41983d21c7a985bf2cd98d8140d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3864979
Reviewed-by: Andrea Grandi <agrandi@google.com>
-rwxr-xr-x | util/flash_ec | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/flash_ec b/util/flash_ec index 7158feedc8..e5fc54b527 100755 --- a/util/flash_ec +++ b/util/flash_ec @@ -719,6 +719,7 @@ elif [[ -d "${HOME}/trunk/src/platform/ec" ]]; then else info "Could not find ec build folder to calculate baseboard." fi +# shellcheck disable=SC2181 if [ $? -ne 0 ]; then info "EC build system didn't recognize ${BOARD}. Assuming no baseboard." fi @@ -1037,6 +1038,7 @@ function flash_flashrom() { fi # Generate the correct flashrom command base. + # shellcheck disable=SC2206 FLASHROM_CMDLINE="${FLASHROM} ${FLASHROM_ARGS}" if [[ -z "${FLAGS_read}" ]]; then # Program EC image. |