Skip to content
Snippets Groups Projects
Commit 7edfb7ce authored by Guido Gunther's avatar Guido Gunther :zzz:
Browse files

build-image: Mark some function local vars local

parent bcc12638
No related branches found
No related tags found
No related merge requests found
......@@ -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}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment