view po/regen_potfiles.sh @ 994:c879a4c14f33

Fixed segfaulting when alter image in directory without images.
author bruclik
date Mon, 25 Aug 2008 18:13:33 +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.$$