From c37a49d24dda2c66ea1d7afab6e66100d939a12b Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Wed, 16 Mar 2022 10:45:40 +0100 Subject: [PATCH] Improve docstring --- home/.local/bin/scripts/gh-notification | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/.local/bin/scripts/gh-notification b/home/.local/bin/scripts/gh-notification index 2b8d57f..42be614 100755 --- a/home/.local/bin/scripts/gh-notification +++ b/home/.local/bin/scripts/gh-notification @@ -243,7 +243,7 @@ if [ "$total" -gt 0 ]; then # Create hash from the name and description and use it to construct # a path to a temporary file # To keep this POSIX compliant, we can't use <<< to feed a string to the - # sum function, so we're using a temporary file + # sum function, so we're using another temporary file which is then removed temp_file="$(mktemp)" printf "$name$description" > "$temp_file" hashsum="$(sum < "$temp_file" | cut -f 1 -d ' ')"