gnome-patch-translation/update-step1-update-translations-from-lcn
Stanislav Brabec b28684dbd2 Accepting request 34357 from home:sbrabec:branches:GNOME:Factory
Copy from home:sbrabec:branches:GNOME:Factory/gnome-patch-translation via accept of submit request 34357 revision 2.
Request was accepted with message:
Accepted by myself.

OBS-URL: https://build.opensuse.org/request/show/34357
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-patch-translation?expand=0&rev=22
2010-03-08 19:30:58 +00:00

27 lines
590 B
Bash

#!/bin/bash
# Fail on errors:
set -e
# Read the config:
. ./gnome-patch-translation.conf
BRANCH=$LCN_BRANCH
if test "$BRANCH" = trunk ; then
BRANCH_PATH="$BRANCH"
else
BRANCH_PATH="branches/$BRANCH"
fi
if test -z "$NAME" ; then
NAME="$USER"
fi
# First of all, read set of update tools from SVN:
eval svn co $LCN_SVN_URI/50-tools
export CALLING_FROM_G_P_T=1
RPM_OSC_REPOSITORIES="${OSC_REPOSITORIES[*]}"
export LCN_SVN_URI LCN_BRANCH RPM_OSC_REPOSITORIES GPT_PACKAGES OSC_APIURL
# And then run gnome-patch-translation-from-lcn
exec 50-tools/gnome-patch-translation-from-lcn