APPLIED [J]: Re: [J/linux][J/linux-unstable][PATCH 0/3] Fix bashism

Paolo Pisati paolo.pisati at canonical.com
Tue Mar 15 16:12:56 UTC 2022


On Fri, Mar 11, 2022 at 04:07:06PM +0000, Dimitri John Ledkov wrote:
> During lrm builds one can often see '[[ command not found' error
> messages. This is due to relying on SHELL variable to be set to 'bash
> -e' and explicitly invoking the scripts with BASH, which lrm build
> doesn't do. Fix this by moving 'set -e' call into the scripts
> themselves, fixing bashism, setting shebang to just '/bin/sh' and
> marking the dkms-build scripts as executable.

-- 
bye,
p.



More information about the kernel-team mailing list