summaryrefslogtreecommitdiffstats
path: root/testfixlang.sh
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2010-08-06 18:37:55 +0200
committerRemi Collet <fedora@famillecollet.com>2010-08-06 18:37:55 +0200
commit514830cf206c726edbc954daf244b683b4f8a544 (patch)
tree434f1b92dec4c7c757b4e404d42d3399bf0a2d05 /testfixlang.sh
parent47c55f2fb1c98842a855420b9676beaebcd0be26 (diff)
lightning: work on fixlang
Diffstat (limited to 'testfixlang.sh')
-rwxr-xr-xtestfixlang.sh31
1 files changed, 31 insertions, 0 deletions
diff --git a/testfixlang.sh b/testfixlang.sh
new file mode 100755
index 0000000..54aa36d
--- /dev/null
+++ b/testfixlang.sh
@@ -0,0 +1,31 @@
+#!/bin/bash
+
+set -x
+
+if [ ! -d /tmp/comm-1.9.2 ]; then
+ tar xjf thunderbird-3.1.2.source.tar.bz2 -C /tmp && echo Sources extracted
+fi
+
+DIR=/tmp/testfixlang
+rm -rf $DIR
+mkdir -p $DIR/chrome
+
+touch $DIR/gdata.mani
+
+php ./fixlang.php \
+ --xpi=gdata-provider.xpi \
+ --gdata-provider=/tmp/comm-1.9.2/calendar/locales/en-US/chrome/calendar/providers/gdata \
+ --manifest=/tmp/testfixlang/gdata.mani \
+ --output=$DIR \
+ --debug=0
+
+touch $DIR/lightning.mani
+
+php ./fixlang.php \
+ --xpi=lightning.xpi \
+ --lightning=/tmp/comm-1.9.2/calendar/locales/en-US/chrome/lightning \
+ --calendar=/tmp/comm-1.9.2/calendar/locales/en-US/chrome/calendar \
+ --manifest=/tmp/testfixlang/lightning.mani \
+ --output=$DIR \
+ --debug=0
+