Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 26 lines (17 sloc) 0.42 kb
#!/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
Jump to Line
Something went wrong with that request. Please try again.