diff options
author | Andras Timar <atimar@suse.com> | 2012-05-15 11:28:35 +0200 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2012-05-15 13:48:15 +0200 |
commit | 70c92c53d4133fde03c575334597909c4aada5ab (patch) | |
tree | 0d09f463007a120df97a99615f6854d7b193bd9a /solenv | |
parent | Related: rhbz#162935 Document reason for stl header visibility check (diff) | |
download | core-70c92c53d4133fde03c575334597909c4aada5ab.tar.gz core-70c92c53d4133fde03c575334597909c4aada5ab.zip |
fix log entry of mergemodule condition
Change-Id: Id88f38fb806c6178240eb69da69c2e633c2033da
Diffstat (limited to 'solenv')
-rwxr-xr-x | solenv/bin/modules/installer/windows/mergemodule.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/solenv/bin/modules/installer/windows/mergemodule.pm b/solenv/bin/modules/installer/windows/mergemodule.pm index 7faa4b5368ce..e60702b5164e 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"; } } |