stat.sh: correct check for cloc

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2021-03-11 07:06:19 +02:00
parent c150d22a23
commit cc0e3bec41

View file

@ -3,7 +3,7 @@
set -e
cwd="$(pwd)"
if ! type -p find ;then
if ! type -p cloc ;then
echo "cloc is not in your PATH"
exit 1
fi