2008-11-07 15:09:28 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# Fail on errors:
|
|
|
|
set -e
|
|
|
|
|
|
|
|
if ! test -x 50-tools/gnome-patch-translation-collect ; then
|
|
|
|
echo "ERROR: 50-tools/gnome-patch-translation-collect is missing.
|
|
|
|
Please call update-step1-update-translations-from-lcn."
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2009-06-05 22:48:19 +02:00
|
|
|
. ./gnome-patch-translation.conf
|
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
|
|
|
# Delete the old LCN snapshot.
|
|
|
|
rm -r LCN-${BRANCH//\//-}
|
2008-11-07 15:09:28 +01:00
|
|
|
# And then run needed scripts:
|
2010-04-01 03:07:34 +02:00
|
|
|
50-tools/gnome-patch-translation-from-lcn
|
2008-11-07 15:09:28 +01:00
|
|
|
exec 50-tools/gnome-patch-translation-remerge
|