File: generate_mo.sh

package info (click to toggle)
mailman3 3.3.10-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 13,256 kB
  • sloc: python: 52,636; sh: 319; makefile: 24
file content (10 lines) | stat: -rwxr-xr-x 233 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

# This script generates .mo files from all the .po files in the source.

echo 'Generating mo files for GNU Mailman ...'
for file in `find . -name 'mailman.po'`
do
    echo $file
    msgfmt $file -o ${file/po/mo} -v
done