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

The error is 
thirdparty/download_thirdparty.sh: line 16: [: missing `]'

when executing thirdparty/download_thirdparty.sh