summaryrefslogtreecommitdiff
path: root/scripts/sha256sum
blob: 3c0a706c7a7cf84e1f2994cc280e3189975bd0ae (plain)
1
2
3
4
5
6
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