neb/tools/repo/check.sh

14 lines
224 B
Bash
Raw Normal View History

2023-12-06 21:54:41 +01:00
#!/bin/bash
2023-10-22 17:45:03 +02:00
set -e
2023-10-22 18:33:31 +02:00
set -o pipefail
[ "${SKIP_CHECK:-no}" = "yes" ] || for c in tools/repo/check.d/*; do
2023-10-22 17:45:03 +02:00
echo "running $c..."
$c | while read line; do
2023-10-22 17:46:14 +02:00
echo "$c: $line"
2023-10-22 17:45:03 +02:00
done
done
echo "repo is OK"
exit 0