4
0
Fork 0
This repository has been archived on 2022-03-14. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
cdist-recycledcloud/scripts/run-manpage-checks.sh
2020-10-13 09:28:40 +02:00

15 lines
244 B
Bash
Executable file

#!/bin/sh
# Move to top-level cdist-contrib directory.
cd $(dirname $0)/..
# Check that each type has a man page.
status=0
for t in type/*; do
if [ ! -f "$t/man.rst" ]; then
echo "No manpage for type $t!"
status=1
fi
done
exit $status