2008-11-07 15:09:28 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# Fail on errors:
|
|
|
|
set -e
|
|
|
|
|
2009-06-05 22:48:19 +02:00
|
|
|
# Read the config:
|
|
|
|
. ./gnome-patch-translation.conf
|
2008-11-07 15:09:28 +01:00
|
|
|
BRANCH=$LCN_BRANCH
|
2009-01-30 00:14:11 +01:00
|
|
|
if test "$BRANCH" = trunk ; then
|
|
|
|
BRANCH_PATH="$BRANCH"
|
|
|
|
else
|
|
|
|
BRANCH_PATH="branches/$BRANCH"
|
|
|
|
fi
|
2008-11-07 15:09:28 +01:00
|
|
|
|
|
|
|
# First of all, read set of update tools from SVN:
|
|
|
|
eval svn co $FORGESVN_URI/50-tools
|
|
|
|
|
|
|
|
export CALLING_FROM_G_P_T=1
|
|
|
|
export FORGESVN_URI LCN_BRANCH OSC_REPOSITORY GPT_PACKAGES OSC_APIURL
|
|
|
|
|
|
|
|
# And then run gnome-patch-translation-from-forge
|
|
|
|
exec 50-tools/gnome-patch-translation-from-forge
|