[Libreoffice-commits] .: solenv/bin

Andras Timar timar at kemper.freedesktop.org
Tue May 15 04:48:20 PDT 2012


 solenv/bin/modules/installer/windows/mergemodule.pm |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit 70c92c53d4133fde03c575334597909c4aada5ab
Author: Andras Timar <atimar at suse.com>
Date:   Tue May 15 11:28:35 2012 +0200

    fix log entry of mergemodule condition
    
    Change-Id: Id88f38fb806c6178240eb69da69c2e633c2033da

diff --git a/solenv/bin/modules/installer/windows/mergemodule.pm b/solenv/bin/modules/installer/windows/mergemodule.pm
index 7faa4b5..e60702b 100755
--- a/solenv/bin/modules/installer/windows/mergemodule.pm
+++ b/solenv/bin/modules/installer/windows/mergemodule.pm
@@ -1400,14 +1400,18 @@ sub change_component_table
             {
                 if ( ${$filecontent}[$i] =~ /^\s*(.+?)\t(.*?)\t(.+?)\t(.+?)\t(.*?)\t(.*?)\s*$/ )
                 {
-                    $infoline = "Adding condition ($5) from scp to component $1\n";
+                    $infoline = "Adding condition ($mergemodulehash->{'componentcondition'}) from scp2 to component $1\n";
                     push( @installer::globals::logfileinfo, $infoline);
                     if ($5)
                     {
+                        $infoline = "Old condition: $5\nNew condition: ($5) AND ($mergemodulehash->{'componentcondition'})\n";
+                        push( @installer::globals::logfileinfo, $infoline);
                         ${$filecontent}[$i] = "$1\t$2\t$3\t$4\t($5) AND ($mergemodulehash->{'componentcondition'})\t$6\n";
                     }
                     else
                     {
+                        $infoline = "Old condition: <none>\nNew condition: $mergemodulehash->{'componentcondition'}\n";
+                        push( @installer::globals::logfileinfo, $infoline);
                         ${$filecontent}[$i] = "$1\t$2\t$3\t$4\t$mergemodulehash->{'componentcondition'}\t$6\n";
                     }
                 }


More information about the Libreoffice-commits mailing list