Commit ef22f7f6 authored by Vitaly Lipatov's avatar Vitaly Lipatov

add check_code.sh script

parent 8ed35b1d
#!/bin/sh
# http://mywiki.wooledge.org/Bashism
# https://wiki.ubuntu.com/DashAsBinSh
epm assure shellcheck || exit
#epm assure checkbashisms || exit
EXCL=-eSC2086,SC2039,SC2034,SC2068,SC2155
if [ -n "$1" ] ; then
shellcheck $EXCL "$1"
#checkbashisms -f "$1"
exit
fi
#checkbashisms -f *.sh
#checkbashisms -f Makefile
shellcheck $EXCL *.sh
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment