check_POTFILES.sh 221 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#! /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