From 14f6079c6ff9fdc9b09a8bfc0a210b3c6c995dcb Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Thu, 31 Dec 2020 02:35:08 +0000 Subject: [PATCH] Fix up blog updating script. --- blog/change_blog_nix.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/blog/change_blog_nix.sh b/blog/change_blog_nix.sh index 53280c2..6027006 100755 --- a/blog/change_blog_nix.sh +++ b/blog/change_blog_nix.sh @@ -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