This fixes a bug introduced in commit f1e6c16c613fa13b703bc4c78513d91e79e104dc.
The script uses set -e, so it will exit on any function call that returns a non-zero exit code.
Since download_hash is calling the vercomp version and vercomp returns 1,2 if the arguments (version1, version2) do not match, the script will exit.
What this PR does / why we need it:
This fixes a bug introduced in commit f1e6c16c613fa13b703bc4c78513d91e79e104dc.
The script uses
set -e
, so it will exit on any function call that returns a non-zero exit code. Since download_hash is calling the vercomp version and vercomp returns 1,2 if the arguments (version1, version2) do not match, the script will exit.Which issue(s) this PR fixes: