|
From: <dwa...@us...> - 2011-11-17 12:07:14
|
Revision: 10552
http://zaf.svn.sourceforge.net/zaf/?rev=10552&view=rev
Author: dwaynebailey
Date: 2011-11-17 12:07:03 +0000 (Thu, 17 Nov 2011)
Log Message:
-----------
Allow us to push translations to pootle or testpootle
Modified Paths:
--------------
trunk/po/fftb/push-to-pootle.sh
Modified: trunk/po/fftb/push-to-pootle.sh
===================================================================
--- trunk/po/fftb/push-to-pootle.sh 2011-11-17 11:52:34 UTC (rev 10551)
+++ trunk/po/fftb/push-to-pootle.sh 2011-11-17 12:07:03 UTC (rev 10552)
@@ -1,6 +1,8 @@
#!/bin/bash
project=firefox
+# Use instance: pootle or testpootle (2.1 and 2.2 instances)
+instance=pootle
langs=$*
user=pootlesync
local_copy=.pootle_phases_tmp
@@ -24,9 +26,9 @@
option_project="--project=$project"
-sync_command="python /var/www/sites/pootle/Pootle/manage.py sync_stores $option_project $option_langs"
-update_command="python /var/www/sites/pootle/Pootle/manage.py update_stores $option_project"
-pootle_dir=/var/www/sites/pootle/podirectory/$project
+sync_command="python /var/www/sites/$instance/Pootle/manage.py sync_stores $option_project $option_langs"
+update_command="python /var/www/sites/$instance/Pootle/manage.py update_stores $option_project"
+pootle_dir=/var/www/sites/$instance/podirectory/$project
# Sync project
ssh $us...@po... $sync_command
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|