Fixed a bourne shell function issue.