HomeFreeBSD

Style check shell scripts

Description

Style check shell scripts

If the command "shellcheck" exists, then find all shell scripts and
run shellcheck on them.

  • Use 'gcc' format with shellcheck.
  • Exclude zfs-script-config.sh (which isn't really a script).

Signed-off-by: Turbo Fredriksson <turbo@bayour.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #3428

Details

Provenance
Turbo Fredriksson <turbo@bayour.com>Authored on May 18 2015, 6:49 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on May 20 2015, 9:10 PM
Parents
rG141b6381d38a: Change 3-digit octal escapes to 4-digit ones
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGc11cd7f93480: Style check shell scripts (authored by Turbo Fredriksson <turbo@bayour.com>).May 20 2015, 9:10 PM