mirror of
https://github.com/storytold/deckcraft.git
synced 2026-10-31 23:58:16 +00:00
Assign positional parameters to locals in sha256 verification
This commit is contained in:
1 file changed
+3
-1
@@ -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