[ooo-build-commit] bin/piece bin/setup.in
Petr Mladek
pmladek at kemper.freedesktop.org
Fri Jun 26 10:05:56 PDT 2009
bin/piece/sys-setup.in | 9 +++++++++
bin/setup.in | 8 ++++++++
2 files changed, 17 insertions(+)
New commits:
commit 94138d529a51e6362f27db9308ad651bbcf1f741
Author: Petr Mladek <pmladek at suse.cz>
Date: Fri Jun 26 19:04:17 2009 +0200
Allow to force another list of langs using FORCE_OOO_LANGS
* bin/piece/sys-setup.in, bin/setup.in: force another list of langs using
the variable FORCE_OOO_LANGS; I use it in the split build to build help
by more spec files on more machines in parallel
diff --git a/bin/piece/sys-setup.in b/bin/piece/sys-setup.in
index 44eccfe..7b5d4a5 100755
--- a/bin/piece/sys-setup.in
+++ b/bin/piece/sys-setup.in
@@ -92,6 +92,15 @@ alias build_client="perl $SOLARENV/bin/build_client.pl"
alias zipdep="perl $SOLARENV/bin/zipdep.pl"
alias nmake="dmake"
+# force langs
+if test -n "$FORCE_OOO_LANGS" ; then
+ OO_LANGS="$FORCE_OOO_LANGS"
+ WITH_LANG="$FORCE_OOO_LANGS"
+fi
+
+echo "Split OOo Environment:"
+set
+
# some useful funtions
# remove installed file even from the file list
diff --git a/bin/setup.in b/bin/setup.in
index 35f7354..d421e6d 100644
--- a/bin/setup.in
+++ b/bin/setup.in
@@ -155,6 +155,14 @@ if test -f $OOBUILDDIR/solenv/inc/postset.mk ; then
ALL_LANGS=`sed -n -e "s|^[[:space:]]*completelangiso=\(.*\)\(en-US \)\(.*\)$|\2\1\3|p" $OOBUILDDIR/solenv/inc/postset.mk`
OOO_LANGS_LIST=`echo $OOO_LANGS | sed -e "s|ALL|$ALL_LANGS|g"`
fi
+# force langs
+if test -n "$FORCE_OOO_LANGS" ; then
+ OOO_LANGS_LIST="$FORCE_OOO_LANGS"
+ OOO_LANGS="$FORCE_OOO_LANGS"
+fi
+
+echo "Normal OOo Environment:"
+set
# setup paths
PATH="$BUILDDIR/bin:$PATH:$TOOLSDIR/bin"
More information about the ooo-build-commit
mailing list