Mercurial > geeqie
annotate po/regen_potfiles.sh @ 1711:ce8ec81a9601
Some systems (BSD,MacOsX,HP-UX,...) define MAP_ANON and not MAP_ANONYMOUS. Make each an alias of other to be sure. issue reported by Martin Proetzsch.
author | zas_ |
---|---|
date | Thu, 30 Jul 2009 17:59:20 +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 |