Re: [PATCH] scripts: fix link-vmlinux.sh bash-ism

Sylvain BERTRAND
2015-03-03T16:34:58Z

On Fri, Jan 02, 2015 at 04:55:42PM +0100, Michal Marek wrote:
> On 2014-12-29 17:34, Sylvain BERTRAND wrote:
> > Chocked while compiling linux with dash shell instead of bash shell.
> > See:
> > http://pubs.opengroup.org/onlinepubs/000095399/utilities/trap.html
>
> Please describe the actual problem in the changelog. I guess it's
> because of the 'ERR' trap?

Indeed:
- ERR is specific to bash
- signal names in a trap built-in instruction should be without the SIG prefix

Shall I repost a v2 with the above lines?

--
Sylvain