Updated to be compliant with SC2230: which is non-standard. Use builtin 'command -v' instead.

This commit is contained in:
David Coomber 2020-09-06 18:53:26 +02:00
parent 5212a990b1
commit 22372f10fa

View File

@ -65,7 +65,7 @@ else
exit 1 exit 1
fi fi
if which codespell &>/dev/null; then if command -v codespell &>/dev/null; then
echo "Running codespell" echo "Running codespell"
echo "............................" echo "............................"
codespell -B 1 --skip="*.log,*.html,*.txt,.git*,jsonDB-keyboard" -L "ba" codespell -B 1 --skip="*.log,*.html,*.txt,.git*,jsonDB-keyboard" -L "ba"