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
|
2010-04-01 03:07:34 +02:00
|
|
|
if test -z "$NAME" ; then
|
|
|
|
NAME="$USER"
|
|
|
|
fi
|
2008-11-07 15:09:28 +01:00
|
|
|
|
|
|
|
# First of all, read set of update tools from SVN:
|
2010-04-01 03:07:34 +02:00
|
|
|
eval svn co $LCN_SVN_URI/50-tools
|
2008-11-07 15:09:28 +01:00
|
|
|
|
|
|
|
export CALLING_FROM_G_P_T=1
|
2010-04-01 03:07:34 +02:00
|
|
|
RPM_OSC_REPOSITORIES="${OSC_REPOSITORIES[*]}"
|
|
|
|
export LCN_SVN_URI LCN_BRANCH RPM_OSC_REPOSITORIES GPT_PACKAGES OSC_APIURL
|
2008-11-07 15:09:28 +01:00
|
|
|
|
2010-04-01 03:07:34 +02:00
|
|
|
# And then run gnome-patch-translation-from-lcn
|
|
|
|
exec 50-tools/gnome-patch-translation-from-lcn
|