removed hard-coded paths from setuplocale.sh in bbb-client so it will work in different build environments
git-svn-id: http://bigbluebutton.googlecode.com/svn/trunk@3351 af16638f-c34d-0410-8cfa-b39d5352b314
This commit is contained in:
parent
08decfc2ac
commit
328e42836d
@ -6,12 +6,19 @@
|
||||
NEW_LANG=$(cat ./src/org/bigbluebutton/util/i18n/ResourceUtil.as | tr -d '\r' | sed -n "/localeChain:Array/{s/.*\[ //g;s/\];//g;s/\"//g;s/,//g;p}")
|
||||
echo "Checking languages: $NEW_LANG"
|
||||
|
||||
cd ~/dev/tools/flex3/frameworks/locale
|
||||
CUR_DIR=$(pwd)
|
||||
|
||||
FLEX_DIR=$(which copylocale)
|
||||
FLEX_DIR=${FLEX_DIR%/*}
|
||||
|
||||
cd "${FLEX_DIR}/../frameworks/locale"
|
||||
|
||||
for v in $NEW_LANG; do
|
||||
if [ ! -d ${v} ]; then
|
||||
echo "Creating locale for: ${v}"
|
||||
copylocale en_US ${v}
|
||||
fi
|
||||
done
|
||||
cd ~/dev/bbb-client
|
||||
|
||||
cd $CUR_DIR
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user