Mercurial > hg > forks > geeqie
view po/regen_potfiles.sh @ 2884:f9a21c9891a0
Fix #658: Bug fix: reads of uninitialized data
https://github.com/BestImageViewer/geeqie/pull/658
author | Rinat Ibragimov <ibragimovrinat@mail.ru> |
---|---|
date | Mon, 21 Jan 2019 11:54:49 +0000 |
parents | f451d676a829 |
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