Mercurial > geeqie
annotate po/regen_potfiles.sh @ 1417:8036c5b779ca
Tidy up.
author | zas_ |
---|---|
date | Wed, 11 Mar 2009 23:04:30 +0000 |
parents | 4581d3f03d22 |
children | 351dd18c7db0 |
rev | line source |
---|---|
584 | 1 #!/bin/sh |
2 | |
588
4581d3f03d22
Modify regen_potfiles.sh to generate a patch instead of
zas_
parents:
584
diff
changeset
|
3 #generate a patch to update POTFILES.in |
4581d3f03d22
Modify regen_potfiles.sh to generate a patch instead of
zas_
parents:
584
diff
changeset
|
4 #Use like this: ./regen_potfiles.sh | patch -p0 |
4581d3f03d22
Modify regen_potfiles.sh to generate a patch instead of
zas_
parents:
584
diff
changeset
|
5 (cd .. ; grep -l 'N\?_[[:space:]]*(.*)' ./src/*.c) > POTFILES.in.$$ |
4581d3f03d22
Modify regen_potfiles.sh to generate a patch instead of
zas_
parents:
584
diff
changeset
|
6 diff -u POTFILES.in POTFILES.in.$$ |
4581d3f03d22
Modify regen_potfiles.sh to generate a patch instead of
zas_
parents:
584
diff
changeset
|
7 rm -f POTFILES.in.$$ |