Mercurial > geeqie
comparison po/regen_potfiles.sh @ 588:4581d3f03d22
Modify regen_potfiles.sh to generate a patch instead of
directly applying changes to POTFILES.in.
author | zas_ |
---|---|
date | Mon, 05 May 2008 20:49:40 +0000 |
parents | 4609c84c9ce0 |
children | 351dd18c7db0 |
comparison
equal
deleted
inserted
replaced
587:5963c394ba53 | 588:4581d3f03d22 |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 | 2 |
3 (cd .. ; grep -l 'N\?_[[:space:]]*(.*)' ./src/*.c) > POTFILES.in | 3 #generate a patch to update POTFILES.in |
4 #Use like this: ./regen_potfiles.sh | patch -p0 | |
5 (cd .. ; grep -l 'N\?_[[:space:]]*(.*)' ./src/*.c) > POTFILES.in.$$ | |
6 diff -u POTFILES.in POTFILES.in.$$ | |
7 rm -f POTFILES.in.$$ |