Merge pull request #3189 from XhmikosR/patch-1

sourcestats.sh: check for required tools
This commit is contained in:
Steven Black
2026-07-05 12:14:16 -04:00
committed by GitHub
+8
View File
@@ -4,6 +4,14 @@
set -euo pipefail
# Ensure required tools are installed
for tool in git rh; do
if ! command -v "${tool}" > /dev/null 2>&1; then
echo "Error: ${tool} not found in PATH" >&2
exit 1
fi
done
lists=(
alternates/fakenews
alternates/fakenews-gambling