Fix up blog updating script.

This commit is contained in:
Danila Fedorin 2020-12-31 02:35:08 +00:00
parent 93493fd2e9
commit 14f6079c6f

View File

@ -1 +1,3 @@
sed -i "s/rev = \".*\"/rev = \"$1\"/" "s/sha256 = \".*\"/sha256 = \"$2\"/" default.nix echo "New rev: $1"
echo "New SHA256: $2"
sed -i "s/rev = \".*\"/rev = \"$1\"/;s/sha256 = \".*\"/sha256 = \"$2\"/" default.nix