fix for sha256sum

This commit is contained in:
Omar Polo 2021-01-22 17:14:40 +00:00
parent 7e26256394
commit 99f95f7762
1 changed files with 2 additions and 1 deletions

View File

@ -8,7 +8,8 @@ if which sha256 2>/dev/null >/dev/null; then
fi
if which sha256sum 2>/dev/null >/dev/null; then
exec sha256sum "$1" | awk '{print $1}' > "$2"
sha256sum "$1" | awk '{print $1}' > "$2"
exit $?
fi
echo "No sha binary found"