Add patch to solve bashism in /bin/sh script (Closes #772331)