#!/bin/sh set -e podir=po echo "Updating po files" rsync --delete --include '*.po' --exclude '*' -Lrtvz \ 'translationproject.org::tp/latest/wyslij-po/' $podir find $po -mindepth 1 -maxdepth 1 -name '*.po' | sed -e 's|.*/||' -e 's|\.po$||' > $podir/LINGUAS echo "Bootstrapping the project" autoreconf -f -i -s if [ ! -d $porefdir ]; then mkdir $porefdir fi