build_image: Fix shellcheck warnings

In preparation for turning on shellcheck more widely, clean up the
existing lint warnings.  This isn't completely clean with the shellcheck
currently in the chroot, but the remaining warnings will be gone once we
have shflags support in shellcheck (tested with a local patch).

BUG=None
TEST=cros lint build_image

Cq-Depend: chromium:1638249
Change-Id: I662eb5db719321bf56c35f0a687f39b6c5b94836
Reviewed-on: https://chromium-review.googlesource.com/1638389
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Benjamin Gordon <bmgordon@chromium.org>
Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
Reviewed-by: Alex Klein <saklein@chromium.org>
1 file changed