From 883b3e05a59c8dfee19b5afb4282bdac3baf7c0f Mon Sep 17 00:00:00 2001 From: Colin Date: Sun, 28 Jul 2024 09:23:51 -0400 Subject: [PATCH] fixup! --- src/sum.sh | 5 +++-- src/sum.sh.sha256 | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/sum.sh b/src/sum.sh index 91ee664..c2a3e2a 100644 --- a/src/sum.sh +++ b/src/sum.sh @@ -16,10 +16,11 @@ calculate_hashes() { fi # Determine the hash command to use + local hash_cmd="" if command -v sha256sum >/dev/null 2>&1; then - local hash_cmd="sha256sum" + hash_cmd="sha256sum" elif command -v shasum >/dev/null 2>&1; then - local hash_cmd="shasum -a 256" + hash_cmd="shasum -a 256" else echo "Neither sha256sum nor shasum is available." return 1 diff --git a/src/sum.sh.sha256 b/src/sum.sh.sha256 index 6ecded3..fcb05ef 100644 --- a/src/sum.sh.sha256 +++ b/src/sum.sh.sha256 @@ -1 +1 @@ -ca21d5215aa1bd7b1903ca14c2b453e63354ca65262fffd172f1b55a7e3386c6 +fd1a5bfda4d5ae146bfd6310bacccdd4b189c7649b0fa1da8df0723623741e05