Hi,

Attached file seems not allowed in mail list.
This is the content of my attached file.
You may copy and compose is as a shell script if you need it.

--------------------
update-gaia-l10n.sh 
--------------------
#!/bin/bash
B2G_DIR=$(pwd)

. "$B2G_DIR/.config"

if [ "$DEVICE_NAME" = "tarako" ]; then
  BRANCH=v1.3
elif [ "$DEVICE_NAME" = "dolphin" ]; then
  DEVICE=scx15
  BRANCH=v1.4
fi

L10N_LIST=`grep ':' device/sprd/$DEVICE/languages.json | cut -d '"' -f 2`

[ ! -d $B2G_DIR/gaia-l10n ] && mkdir $B2G_DIR/gaia-l10n
cd $B2G_DIR/gaia-l10n

for l in $L10N_LIST
do
        echo "updating $l ..."
        if [ ! -d $l ]; then
    git clone https://git.mozilla.org/releases/l10n/$l/gaia.git -b $BRANCH $l
        else
    cd $l && git pull && cd ..
        fi
done
cd $B2G_DIR

--------------------

--
Kai-Zhen Li (Seinlin)
Mozilla Taiwan

----- Original Message -----
From: "Kai-Zhen Li" <[email protected]>
To: [email protected]
Sent: Friday, May 23, 2014 11:20:21 AM
Subject: [b2g] Dolphin or Tarako build failed due to gaia-l10n is missing

Hi,

Building Dolphin or Tarako will be failed, if gaia-l10n is missing, .
This is because l10n is enabled in device config by default.

If you got the same error, here is a reference for you.
In my local build, I run the attached script under B2G dir which will 
fetch/update gaia-l10n for Dolphin or Tarako.


--
Kai-Zhen Li (Seinlin)
Mozilla Taiwan
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to