Do not use bash style functions in a sh script.