diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-05-02 08:53:53 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-05-02 08:53:53 +0200 |
commit | ea8f054f819ba3461bf2caeb0a840476ee021d6a (patch) | |
tree | 39c0c887627706f36554d7167554834ff4acd1d6 /scripts/sha256sum | |
parent | f611b9c0e05eaaa5c1466f0996fcb402964ee58d (diff) |
fix shasum wrapper on Darwin
Diffstat (limited to 'scripts/sha256sum')
-rwxr-xr-x | scripts/sha256sum | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/sha256sum b/scripts/sha256sum index 2a7ffb6f7..e70973364 100755 --- a/scripts/sha256sum +++ b/scripts/sha256sum @@ -10,7 +10,5 @@ elif [ -x /bin/cksum ] && [ $(echo | cksum -a sha256) = 01ba4719c80b6fe911b091a7 [[ $x = *FAILED* ]] && exit 1 exit 0 else - tmp=$(mktemp -t yyy) - cat - > $tmp - shasum -a 256 "$@" $tmp + shasum -a 256 "$@" fi |