summaryrefslogtreecommitdiff
path: root/scripts/pull_translations.sh
blob: abf438734d52515b602aeace8e627856d60b6507 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
#
# This script is for pulling the latest translations from Translation Project
#
# Assumption: executed from the top level xkeyboard-config directory
#

project=xkeyboard-config

if [ ! -d po ] ; then
	echo "No po subdirectory in the current directory, the script has to be executed from the top level $project directory"
	exit 1
fi

rsync -Lrtvz translationproject.org::tp/latest/$project/  po