This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Use -c instead of check for sha512sum
- From: Tommy Nguyen <remyabel at gmail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Tommy Nguyen <remyabel at gmail dot com>
- Date: Sat, 9 Mar 2019 06:48:07 -0500
- Subject: [PATCH] Use -c instead of check for sha512sum
Busybox doesn't support "check", which is an alias for "-c" in
coreutils. Tested on Alpine Edge and Fedora 29.
2019-03-09 Tommy Nguyen <remyabel@gmail.com>
PR contrib/82704
* contrib/download_prerequisites: Use -c instead of check for
sha512sum
---
contrib/download_prerequisites | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/download_prerequisites b/contrib/download_prerequisites
index b50f47cda79..72976c46c92 100755
--- a/contrib/download_prerequisites
+++ b/contrib/download_prerequisites
@@ -51,7 +51,7 @@ case $OS in
chksum='shasum -a 512 --check'
;;
*)
- chksum='sha512sum --check'
+ chksum='sha512sum -c'
;;
esac
--
2.20.1