summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2010-09-07 12:00:35 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2010-09-07 12:00:35 +0200
commit9c4ae3e7f854bc1c2be9f186b6d8566a6e262c34 (patch)
tree80bc5de2ace0dc4455f74cbe05cf99875623aeb4
parent8e9b252190f4a96e56a94bdb9523b67d8e8dc9f4 (diff)
More SRCDIR -> TOOLSDIR/src that were not in the cherry I picked
* bin/localize-ooo:
-rwxr-xr-xbin/localize-ooo8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/localize-ooo b/bin/localize-ooo
index 9f0c7f0bb..e09070a62 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;