1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-04 09:11:33 +02:00
vlc/test/check_POTFILES.sh
Rémi Denis-Courmont 2683bad651 test: check POTFILES.in in test suite
(It is already tested in dist(check) but that is way too slow.)
2014-01-09 20:57:01 +02:00

19 lines
221 B
Bash
Executable File

#! /bin/sh
top_srcdir="${srcdir}/.."
set -xe
cd ${top_srcdir}
grep -v '^#' po/POTFILES.in | \
while read f
do
test -n "$f" || continue
if test ! -f "$f"
then
echo "$f: source file missing!" >&2
exit 1
fi
done