Bug 8746 [Follow-up] Replace == by eq in string comparison
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> All tests and QA script pass. Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
This commit is contained in:
parent
a4e8443691
commit
357cf7fdd8
1 changed files with 2 additions and 2 deletions
|
@ -53,14 +53,14 @@ splitfile() {
|
|||
if ($closed) {
|
||||
open($out, ">", sprintf("$prefix%02d", $i));
|
||||
$closed = 0;
|
||||
if ($indexmode == "dom" && $line !~ /<collection>/) {
|
||||
if ($indexmode eq "dom" && $line !~ /<collection>/) {
|
||||
print $out "<collection>";
|
||||
}
|
||||
}
|
||||
print $out $line;
|
||||
$count++ if ($line =~ m|^</record>|);
|
||||
if ($count == $size) {
|
||||
if ($indexmode == "dom" && $line !~ m|</collection>|) {
|
||||
if ($indexmode eq "dom" && $line !~ m|</collection>|) {
|
||||
print $out "</collection>";
|
||||
}
|
||||
$count = 0;
|
||||
|
|
Loading…
Reference in a new issue