Mercurial > geeqie
view po/regen_potfiles.sh @ 1723:0e235874877e
write metadata before another opeation
- this is implemented for copy and external editor
- the unsaved metadata should survive operations like move or rename
- saving metadata before delete is pointless
author | nadvornik |
---|---|
date | Tue, 25 Aug 2009 21:30:50 +0000 |
parents | 351dd18c7db0 |
children |
line wrap: on
line source
#!/bin/sh #generate a patch to update POTFILES.in #Use like this: ./regen_potfiles.sh | patch -p0 TMP=POTFILES.in.$$ ((find ../src/ -type f -name '*.c' ; find ../ -type f -name '*.desktop.in') | while read f; do (echo $f | sed 's#^../##') done) | sort > $TMP diff -u POTFILES.in $TMP rm -f $TMP