git-wad

Manage files via git but not their content
git clone git://git.meso-star.fr/git-wad.git
Log | Files | Refs | README | LICENSE

commit 50c6dd29f6b2d33543ee9c1f0612f298a1f77b26
parent 0e1df6cf59afc9818a54a4e1cfc26060c97442a5
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Sun, 26 Jan 2025 15:12:45 +0100

Checksum tool verification update

Unexpected messages could be displayed.

Diffstat:
Mgit-wad | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/git-wad b/git-wad @@ -35,9 +35,10 @@ fi # multi-byte encoding errors. alias sed__='LC_CTYPE=C sed' +# Check checksum command support if ! command -v sha256sum 1> /dev/null 2>&1 \ -&& ! command -v shasum 2> /dev/null \ -&& ! command -v sha256 2> /dev/null; then +&& ! command -v shasum 1> /dev/null 2>&1 \ +&& ! command -v sha256 1> /dev/null 2>&1; then >&2 printf 'No tool to process SHA256 checksum\n' die fi