view po/regen_potfiles.sh @ 1536:b1e622788c4a

Just update the internal sort method There is no other use of the internal sort method than speeding up the sorting of a collection. So setting it to SORT_NONE is the better choice.
author mow
date Fri, 10 Apr 2009 13:54:08 +0000
parents 4581d3f03d22
children 351dd18c7db0
line wrap: on
line source

#!/bin/sh

#generate a patch to update POTFILES.in
#Use like this: ./regen_potfiles.sh | patch -p0
(cd .. ; grep -l 'N\?_[[:space:]]*(.*)' ./src/*.c) > POTFILES.in.$$
diff -u POTFILES.in POTFILES.in.$$
rm -f POTFILES.in.$$