#!/bin/bash echo -e -n "Generating locale...\n" for nazwa in `find $1 -name *.po -type f -printf "%f\n"` do tekst=${nazwa%.po} install -d $2/$tekst/LC_MESSAGES/ msgfmt $1/$nazwa -o $2/$tekst/LC_MESSAGES/whitestork.mo done