[ooo-build-commit] bin/localize-ooo
René Engelhard
rene at kemper.freedesktop.org
Fri Jul 24 06:55:51 PDT 2009
bin/localize-ooo | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
New commits:
commit 420c4e4a0ffd927cb7ba24b3bca93bb0f56b330e
Author: Rene Engelhard <rene at debian.org>
Date: Fri Jul 24 15:46:29 2009 +0200
we don't need to waste time by running a find through the complete tree
* bin/localize-ooo: run find only in $OOBUILDDIR/l10n if l10n exists
diff --git a/bin/localize-ooo b/bin/localize-ooo
index 9db5865..f63c138 100755
--- a/bin/localize-ooo
+++ b/bin/localize-ooo
@@ -63,7 +63,11 @@ if test "$split_build" != "yes" && ! which localize >/dev/null 2>&1 ; then
cd -
echo "Fixing localize.sdf permissions..."
- find $OOBUILDDIR -type f -name "localize.sdf" -exec chmod 644 {} \;
+ if [ -d $OOBUILDDIR/l10n ]; then
+ find $OOBUILDDIR/l10n -type f -name "localize.sdf" -exec chmod 644 {} \;
+ else
+ find $OOBUILDDIR -type f -name "localize.sdf" -exec chmod 644 {} \;
+ fi
fi
# will filter the sdf files in the split-build
More information about the ooo-build-commit
mailing list