Assign positional parameters to locals in sha256 verification

This commit is contained in:
Dylan Taylor
2026-10-23 23:01:40 -04:00
parent 29e49dc522
commit 6b889a9b7e
+3 -1
View File
@@ -26,7 +26,9 @@ HERE="$ROOT/packaging/linux"
APP_ID=ai.storyteller.figcraft
verify_sha256() {
printf '%s %s\n' "$1" "$2" | sha256sum -c -
local expected="$1"
local file="$2"
printf '%s %s\n' "$expected" "$file" | sha256sum -c -
}
SKIP_BUILD=0