Hi! The script has #!/bin/sh shebang (and hence must have POSIX shell compatibility), but the patch introduces uses of the 'local' keyword which isn't in POSIX.
While many shells do have the 'local' keyword, its behaviour isn't portable across those either, which is why it's likely it'll never be added to POSIX :( thanks, sam