Some command line options are not GNU/POSIX compliant (4)
[geeqie.git] / po / regen_potfiles.sh
1 #!/bin/sh
2
3 #generate a patch to update POTFILES.in
4 #Use like this: ./regen_potfiles.sh | patch -p0
5 TMP=POTFILES.in.$$
6 ((find ../src/ -type f -name '*.c' ; find ../ -type f -name '*.desktop.in' ; find ../ -type f -name '*.appdata.xml.in') | while read f; do
7         (echo $f | sed 's#^../##')
8 done) | sort > $TMP
9 diff -u POTFILES.in $TMP
10 rm -f $TMP