Unverified Commit 271a0e91 authored by Christoph Heiss's avatar Christoph Heiss
Browse files

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

parent 70dcf56a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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"
}