bin/ create the civicrm-l10n-daily.tar.gz and publish on

parent fb9e8c36
...@@ -66,9 +66,21 @@ else ...@@ -66,9 +66,21 @@ else
user=`whoami` user=`whoami`
if [ "$user" = "l10n" ]; then if [ "$user" = "l10n" ]; then
for i in $(cat conf/distributed_languages.txt); do
mkdir -p workdir/l10n/$i/LC_MESSAGES
cp mo/$i/ workdir/l10n/$i/LC_MESSAGES/
pushd workdir
tar cfvz civicrm-l10n-daily.tar.gz l10n
md5sum civicrm-l10n-daily.tar.gz > civicrm-l10n-daily.tar.gz.MD5SUMS
scp civicrm-l10n-daily.tar.gz
scp civicrm-l10n-daily.tar.gz.MD5SUMS
rm civicrm-l10n-daily.tar.gz*
echo -n "Rsync to ... " echo -n "Rsync to ... "
rsync --delete -ra mo rsync --delete -ra mo
echo "done!" echo "done!"
fi fi
fi fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment