[ooo-build-commit] .: Branch 'ooo-build-3-2-1' - bin/localize-ooo

Fridrich Strba fridrich at kemper.freedesktop.org
Tue Sep 7 03:01:14 PDT 2010


 bin/localize-ooo |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 9c4ae3e7f854bc1c2be9f186b6d8566a6e262c34
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date:   Tue Sep 7 12:00:35 2010 +0200

    More SRCDIR -> TOOLSDIR/src that were not in the cherry I picked
    
    * bin/localize-ooo:

diff --git a/bin/localize-ooo b/bin/localize-ooo
index 9f0c7f0..e09070a 100755
--- a/bin/localize-ooo
+++ b/bin/localize-ooo
@@ -136,7 +136,7 @@ done
 sdf_langpack=`mktemp /tmp/langpack-ooo-sdf-XXXXXX`
 echo -n "Generating langpack description from translation: "
 echo -n "" > langpack.sdf
-for sdf_file in `find $SRCDIR/clone/l10n/l10n/source -name "*.sdf" | sort` ; do
+for sdf_file in `find $TOOLSDIR/src/clone/l10n/l10n/source -name "*.sdf" | sort` ; do
     echo -n "."
     grep -E "STR_...._MODULE_LANGPACK_" $sdf_file >> $sdf_langpack
 done
@@ -161,10 +161,10 @@ for fn in `find $TOOLSDIR/src $DEB_GSIDIR $TOOLSDIR/po $SRCDIR_PIECE -path $TOOL
     echo "$fn" | grep -q "^$TOOLSDIR/po/sdf-templates" && continue;
     echo "$fn" | grep -q "^$TOOLSDIR/po/ooo-build.sdf" && continue;
 	# skip transex3/workbench files, they are not real sdf files
-	echo "$fn" | grep -q "^$SRCDIR/clone/libs-gui/transex3/workbench/" && continue;
-	echo "$fn" | grep -q "^$SRCDIR/clone/libs-gui/transex3/layout/" && continue;
+	echo "$fn" | grep -q "^$TOOLSDIR/src/clone/libs-gui/transex3/workbench/" && continue;
+	echo "$fn" | grep -q "^$TOOLSDIR/src/clone/libs-gui/transex3/layout/" && continue;
 	# skip cloned files
-	echo "$fn" | grep -q "^$SRCDIR/clone/l10n/l10n/source/" && continue;
+	echo "$fn" | grep -q "^$TOOLSDIR/src/clone/l10n/l10n/source/" && continue;
     # skip exotic localizations that are not in $ALL_LANGS and thus not detected
     echo "$fn" | grep -q "$TOOLSDIR/src/GSI" && ! echo $OOO_LANGS | grep -q "$(echo $(basename $fn) | cut -d'_' -f2)" && continue;
     echo "$fn" | grep -q "$TOOLSDIR/po/ooo-build" && ! echo $OOO_LANGS | grep -q "$(echo $(basename $fn) | cut -d'-' -f3)" && continue;


More information about the ooo-build-commit mailing list