mirror_zfs/contrib
Brian Behlendorf 64025fa3a1
Silence 'make checkbashisms'
Commit d2bce6d03 added the 'make checkbashisms' target but did not
resolve all of the bashisms in the scripts.  This commit doesn't
resolve them all either but it does fix up a few, and it excludes
the others so 'make checkstyle' no longer prints warnings.  It's
a small step in the right direction.

* Dracut is Linux specific and itself depends on bash.  Therefore
  all dracut support scripts can be bash specific, update their
  shebang accordingly.

* zed-functions.sh, zfs-import, zfs-mount, zfs-zed, smart
  paxcheck.sh, make_gitrev.sh - these scripts were excuded from
  the check until they can be updated and properly tested.

* zfsunlock - only whole values for sleep are allowed.

* vdev_id - removed unneeded locals; use && instead of -a.

* dkms.mkconf, dkms.postbuil - use || instead of -o.

Reviewed-by: InsanePrawn <insane.prawny@gmail.com>
Reviewed-by:  Gabriel A. Devenyi <gdevenyi@gmail.com>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #10755
2020-08-20 13:45:47 -07:00
..
bash_completion.d Merge bash_completions changes from upstream 2020-06-16 12:27:23 -07:00
bpftrace Drop unnecessary srcdir paths 2020-06-24 18:20:18 -07:00
dracut Silence 'make checkbashisms' 2020-08-20 13:45:47 -07:00
initramfs Silence 'make checkbashisms' 2020-08-20 13:45:47 -07:00
pam_zfs_key Use abs_top_builddir when referencing libraries 2020-07-10 14:26:32 -07:00
pyzfs Change the error handling for invalid property values 2020-08-01 08:41:31 -07:00
zcp Fix contrib/zcp/Makefile.am 2019-10-30 12:37:49 -07:00
Makefile.am pam: implement a zfs_key pam module 2020-06-24 18:45:44 -07:00