[rtems-source-builder commit] sb/sha512-base64: Add script to generate a base64 checksum.
Chris Johns
chrisj at rtems.org
Sun Mar 29 23:54:30 UTC 2020
Module: rtems-source-builder
Branch: master
Commit: 92d8e7f51f240e4daff9e86e45e8189bea9d0486
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=92d8e7f51f240e4daff9e86e45e8189bea9d0486
Author: Chris Johns <chrisj at rtems.org>
Date: Mon Mar 30 10:47:18 2020 +1100
sb/sha512-base64: Add script to generate a base64 checksum.
- Use this command to get a smaller sha512 checksum
---
source-builder/sha512-base64 | 2 ++
1 file changed, 2 insertions(+)
diff --git a/source-builder/sha512-base64 b/source-builder/sha512-base64
new file mode 100755
index 0000000..e6c8e1a
--- /dev/null
+++ b/source-builder/sha512-base64
@@ -0,0 +1,2 @@
+#! /bin/sh
+openssl dgst -binary -sha512 $1 | openssl base64 | sed '{N;s/\n//;}'
More information about the vc
mailing list