projects
/
geeqie.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Trim trailing white spaces.
[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') | while read f; do
7
(echo $f | sed 's#^../##')
8
done) | sort > $TMP
9
diff -u POTFILES.in $TMP
10
rm -f $TMP