download_thirdparty.sh compares bash with -eq, it should compare with ==