mirror of
https://github.com/storytold/figcraft.git
synced 2026-10-24 02:16:56 -06:00
Assign positional parameters to locals in sha256 verification
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user