floorp: update.sh: fix duplicate double quoting when replacing hash
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
parent
70dcf56aae
commit
271a0e91e8
|
@ -19,7 +19,7 @@ updateBaseVersion() {
|
||||||
|
|
||||||
updateHash() {
|
updateHash() {
|
||||||
local hash
|
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"
|
sed -i "s|hash = \"[a-zA-Z0-9\/+-=]*\";|hash = \"$hash\";|g" "$dirname/default.nix"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user