File: make_mo.sh

package info (click to toggle)
zabbix 1%3A4.0.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 83,104 kB
  • sloc: php: 162,280; ansic: 154,778; sql: 96,479; sh: 5,281; makefile: 1,340; java: 1,068; cpp: 227; perl: 41; xml: 29
file content (5 lines) | stat: -rwxr-xr-x 185 bytes parent folder | download
1
2
3
4
5
#!/bin/bash

while read pofile; do
        msgfmt --verbose --use-fuzzy -c -o ${pofile%po}mo $pofile || exit $?
done < <(find $(dirname $0) -type f ! -wholename '*/.svn*' -name '*.po')