floorp: update.sh: fix duplicate double quoting when replacing hash

Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
Christoph Heiss 2024-04-14 21:42:37 +02:00
parent 70dcf56aae
commit 271a0e91e8
No known key found for this signature in database
GPG Key ID: 73D5E7FDEE3DE49A
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ updateBaseVersion() {
updateHash() {
local hash
hash=$(nix-prefetch-github --fetch-submodules --rev "v$1" $owner $repo | jq .hash)
hash=$(nix-prefetch-github --fetch-submodules --rev "v$1" $owner $repo | jq -r .hash)
sed -i "s|hash = \"[a-zA-Z0-9\/+-=]*\";|hash = \"$hash\";|g" "$dirname/default.nix"
}