mirror of
https://github.com/storytold/deckcraft.git
synced 2026-10-24 02:27:08 -06:00
Assign positional parameters to locals in sha256 verification
This commit is contained in:
@@ -20,7 +20,9 @@ HERE="$ROOT/packaging/linux"
|
||||
APP_ID=ai.storyteller.deckcraft
|
||||
|
||||
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