office-gobmx/sw/qa/extras/find-unused-data.sh
Ilmari Lauhakangas ac586d1cae Make some scripts more portable
Change-Id: Ia89059eea51ca396a7c74143625ac9a6706de198
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120773
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2021-08-20 12:32:22 +02:00

11 lines
214 B
Bash
Executable file

#!/usr/bin/env bash
for i in */data/*
do
file=$(basename "$i")
if ! git grep -q "$file"; then
echo "WARNING: $i is not used, write a testcase for it!"
fi
done
# vi:set shiftwidth=4 expandtab: