view po/regen_potfiles.sh @ 882:912726c2f5e3

Fix a segfault occuring when opening some collection files. Skip all lines not starting with a # when only geometry is required.
author zas_
date Sun, 13 Jul 2008 12:36:18 +0000
parents 4581d3f03d22
children
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.$$