On 2014-12-06, Raphael Geissert wrote:
> I've ran checkbashisms (from the 'devscripts' package) over the whole
> archive and I found that your package has a /bin/sh script that uses a
> "bashism".
>
> checkbashisms' output:
>> possible bashism in ./usr/share/initramfs-tools/scripts/local-top/nbd line
>> 84 ([^] should be [!]):
>>        *[^0-9]*)
>
>
> Not using bash (or a Debian Policy compliant shell interpreter that doesn't
> provide such an extra feature) as /bin/sh is likely to lead to errors or
> unexpected behaviours. Please be aware that dash is the default /bin/sh.

For initramfs-tools/scripts/*, I believe the shell actually used is
typically either busybox shell (or klibc shell?), not dash, as these
scripts are run from the initramfs environment. Not sure if this
actually triggers issues with those shells as well.


live well,
  vagrant

Attachment: signature.asc
Description: PGP signature

Reply via email to