Mercurial > geeqie
annotate po/regen_potfiles.sh @ 1805:fccac8fde6c0
Little macro correction
author | mow |
---|---|
date | Sat, 27 Feb 2010 20:35:09 +0000 |
parents | 351dd18c7db0 |
children |
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 |
1681
351dd18c7db0
Fix POTFILES.in and update regen_potfiles.sh to add .desktop.in files.
zas_
parents:
588
diff
changeset
|
5 TMP=POTFILES.in.$$ |
351dd18c7db0
Fix POTFILES.in and update regen_potfiles.sh to add .desktop.in files.
zas_
parents:
588
diff
changeset
|
6 ((find ../src/ -type f -name '*.c' ; find ../ -type f -name '*.desktop.in') | while read f; do |
351dd18c7db0
Fix POTFILES.in and update regen_potfiles.sh to add .desktop.in files.
zas_
parents:
588
diff
changeset
|
7 (echo $f | sed 's#^../##') |
351dd18c7db0
Fix POTFILES.in and update regen_potfiles.sh to add .desktop.in files.
zas_
parents:
588
diff
changeset
|
8 done) | sort > $TMP |
351dd18c7db0
Fix POTFILES.in and update regen_potfiles.sh to add .desktop.in files.
zas_
parents:
588
diff
changeset
|
9 diff -u POTFILES.in $TMP |
351dd18c7db0
Fix POTFILES.in and update regen_potfiles.sh to add .desktop.in files.
zas_
parents:
588
diff
changeset
|
10 rm -f $TMP |