The bash script tried to verify the existence of a file, but there were several fils fitting the wildcard expression. So, [ -e .../*gcc ]; was interpreted as if it had too many arguments. Replaced that expression by a count of files. Fixes #8493.