Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


On Fri, Jan 14, 2011 at 7:17 AM, Thorsten Behrens
<thb@documentfoundation.org> wrote:
Hi,

the extra localizations from LibO are not applied properly at least
on Mac (not yet clear whether the .deb issue has the same root cause
- https://bugs.freedesktop.org//show_bug.cgi?id=33105).

Reason is a non-working localize-ooo, the first patch ensures bash
is used (and portably found). I need triple approval for this, needs
to go into 3-3-0

The second patch avoids a somewhat fragile cut call - that one is
not strictly necessary for 3-3-0, but I'd love to have it in 3-3

I'm ok with the 1st one.

the second one (awk) is missing a sigle-quote I think
     # merge the localization
-    if test `wc -l "$sdf_file_filtered" | cut -d " " -f 1` -eq 0 ; then
+    if test `wc -l "$sdf_file_filtered" | awk '{print $1}` -eq 0 ; then
        echo "Warning: Ignoring empty extra localization $(basename $sdf_file)..."
should be

     # merge the localization
-    if test `wc -l "$sdf_file_filtered" | cut -d " " -f 1` -eq 0 ; then
+    if test `wc -l "$sdf_file_filtered" | awk '{print $1}'` -eq 0 ; then
        echo "Warning: Ignoring empty extra localization $(basename $sdf_file)..."

Norbert

Cheers,

-- Thorsten

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.