annotate po/update-potfiles.sh @ 3106:a0628e5f3074

gio: fix FD leak
author William Pitcock <nenolod@atheme.org>
date Thu, 30 Apr 2009 12:35:54 -0500
parents be52c86750d7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1525
bee9eaedefa5 - made the MP3 FileWriter output plugin less braindead
mf0102 <0102@gmx.at>
parents:
diff changeset
1 #!/bin/bash
bee9eaedefa5 - made the MP3 FileWriter output plugin less braindead
mf0102 <0102@gmx.at>
parents:
diff changeset
2 rm POTFILES*
2091
612d25be0fbd added notice to POTFILES.in about update-potfiles.sh
mf0102 <0102@gmx.at>
parents: 1525
diff changeset
3 echo "# Please don't update this file manually - use ./update-potfiles.sh instead!" > POTFILES.in
1525
bee9eaedefa5 - made the MP3 FileWriter output plugin less braindead
mf0102 <0102@gmx.at>
parents:
diff changeset
4 cd ..
2597
be52c86750d7 Only scan "*.{c,cxx,cc}" instead of "*.c*" when updating POTFILES.in.
Matti Hamalainen <ccr@tnsp.org>
parents: 2091
diff changeset
5 find src/ \( -name "*.c" -o -name "*.cxx" -o -name "*.cc" -o -name "*.glade" \) -exec grep -lE "translatable|_\(" \{\} \; | sort | uniq >> po/POTFILES.in