summaryrefslogtreecommitdiff
path: root/scripts/sha256sum
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/sha256sum')
-rwxr-xr-xscripts/sha256sum7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/sha256sum b/scripts/sha256sum
new file mode 100755
index 000000000..3c0a706c7
--- /dev/null
+++ b/scripts/sha256sum
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+tmp=$(mktemp -t yyy)
+cat - > $tmp
+shasum -a 256 "$@" $tmp