Fixe bourne shell errors with function().