view po/regen_potfiles.sh @ 1797:203404cc8e98

fixed reference count there was a bug in reference count on writting unsaved metadata before starting an external editor
author nadvornik
date Sun, 14 Feb 2010 21:35:11 +0000
parents 351dd18c7db0
children
line wrap: on
line source

#!/bin/sh

#generate a patch to update POTFILES.in
#Use like this: ./regen_potfiles.sh | patch -p0
TMP=POTFILES.in.$$
((find ../src/ -type f -name '*.c' ; find ../ -type f -name '*.desktop.in') | while read f; do
	(echo $f | sed 's#^../##')
done) | sort > $TMP
diff -u POTFILES.in $TMP
rm -f $TMP