mirror of https://github.com/omar-polo/gmid.git
remove unused script
This commit is contained in:
parent
176179b2a9
commit
99c91b4a51
16
regress/sha
16
regress/sha
|
@ -1,16 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# USAGE: ./sha in out
|
||||
# writes the sha256 of in to file out
|
||||
|
||||
if which sha256 2>/dev/null >/dev/null; then
|
||||
exec sha256 < "$1" > "$2"
|
||||
fi
|
||||
|
||||
if which sha256sum 2>/dev/null >/dev/null; then
|
||||
sha256sum "$1" | awk '{print $1}' > "$2"
|
||||
exit $?
|
||||
fi
|
||||
|
||||
echo "No sha binary found"
|
||||
exit 1
|
Loading…
Reference in New Issue