aboutsummaryrefslogtreecommitdiff
path: root/util/lint/lint-stable-025-description-md
blob: 88c3d76c41f5e4d791a5216dfe709b80519d6fda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0-or-later
#
# DESCR: Check that every utility has a description

LC_ALL=C export LC_ALL
FAIL=0

for i in util/*/; do
    if [ ! -r "$i/description.md" ]; then
      echo "  Failure: util directory $i missing description.md file."
      FAIL=1
    fi
done

exit $FAIL