Commit 7edfb7ce authored by Guido Gunther's avatar Guido Gunther
Browse files

build-image: Mark some function local vars local

parent bcc12638
......@@ -92,6 +92,8 @@ setup_loop() {
write_meta() {
local out="$1"
local image="$2"
local image_sha256sum
local image_size
image_sha256sum=$(sha256sum "${image}" | sed 's/\([a-f0-9]\+\) .*/\1/')
image_size=$(stat --format='%s' "${image}")
......@@ -108,6 +110,8 @@ EOF
append_boot_image_meta() {
local out="$1"
local image="$2"
local image_sha256sum
local image_size
image_sha256sum=$(sha256sum "${image}" | sed 's/\([a-f0-9]\+\) .*/\1/')
image_size=$(stat --format='%s' "${image}")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment