Avoid variable exporting for Bash scripts.

Exporting should not be required and it may lead to security issues, for example access of a --password option by other applications.