Fix shell function in release script.