summaryrefslogtreecommitdiff
path: root/po/update-potfiles
blob: 70af4ec039b2496cd765b1eab843f8899fbb50e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

if [ ! -f "po/Makevars" ]; then
	echo "You must run this script in the top-level directory"
	exit 1
fi

find . -name '*.c' |
	sort |
	sed 's|^./||
/^contrib/d' > po/POTFILES.in