Sam James <s...@gentoo.org> writes:

> 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 :(

BTW, shellcheck catches this, but unfortunately, checkbashisms does not.

>
> thanks,
> sam

Reply via email to