Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
executable file 26 lines (17 sloc) 420 Bytes
#!/bin/bash
name=nautilus-flickr-uploader
destdir=$1
if [ "X" == "X$destdir" ]; then
echo "ERROR: you must provide a destination directory"
exit 1
fi
mkdir .po
for file in po/*.po; do
base=`basename $file .po`
mkdir -p $destdir/share/locale/$base/LC_MESSAGES
msgfmt $file -o .po/$name.mo
install -p -m664 .po/$name.mo $destdir/share/locale/$base/LC_MESSAGES/$name.mo
echo $file done
done
rm -rf .po
# EOF
Something went wrong with that request. Please try again.