From 6ca27c326622432c12050c3162dedc5e458adbd5 Mon Sep 17 00:00:00 2001 From: Konstantin Pavlov Date: Wed, 26 Jun 2024 21:25:33 -0700 Subject: contrib: make sha512sum check compatible with FreeBSD 14+ FreeBSD introduced sha512sum binary in version 14, but with slightly incompatible flags as compared to Linux version. This change makes it work in both worlds. --- pkg/contrib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg') diff --git a/pkg/contrib/Makefile b/pkg/contrib/Makefile index d4f072d2..0f412b20 100644 --- a/pkg/contrib/Makefile +++ b/pkg/contrib/Makefile @@ -51,7 +51,7 @@ XZ ?= $(error XZ (LZMA) compressor not found) endif ifeq ($(shell sha512sum --version >/dev/null 2>&1 || echo FAIL),) -SHA512SUM = sha512sum --check +SHA512SUM = sha512sum -c - else ifeq ($(shell shasum --version >/dev/null 2>&1 || echo FAIL),) SHA512SUM = shasum -a 512 --check else ifeq ($(shell openssl version >/dev/null 2>&1 || echo FAIL),) -- cgit