diff options
Diffstat (limited to 'support/download/check-hash')
-rwxr-xr-x | support/download/check-hash | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/support/download/check-hash b/support/download/check-hash index b59fd2a222..4c07274cc9 100755 --- a/support/download/check-hash +++ b/support/download/check-hash @@ -10,6 +10,14 @@ set -e # saved as, to be able to match it to the corresponding hashes # in the .hash file +while getopts :q OPT; do + case "${OPT}" in + q) exec >/dev/null;; + \?) exit 1;; + esac +done +shift $((OPTIND-1)) + h_file="${1}" file="${2}" base="${3}" |