From 357cf7fdd850008e4c4f94a4d8d115490a3f4262 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Tue, 19 Mar 2013 13:54:32 +0000 Subject: [PATCH] Bug 8746 [Follow-up] Replace == by eq in string comparison Signed-off-by: Bernardo Gonzalez Kriegel Signed-off-by: Katrin Fischer All tests and QA script pass. Signed-off-by: Jared Camins-Esakov --- misc/migration_tools/rebuild_zebra_sliced.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/migration_tools/rebuild_zebra_sliced.sh b/misc/migration_tools/rebuild_zebra_sliced.sh index 1996596f82..7ddf32e9c5 100755 --- a/misc/migration_tools/rebuild_zebra_sliced.sh +++ b/misc/migration_tools/rebuild_zebra_sliced.sh @@ -53,14 +53,14 @@ splitfile() { if ($closed) { open($out, ">", sprintf("$prefix%02d", $i)); $closed = 0; - if ($indexmode == "dom" && $line !~ //) { + if ($indexmode eq "dom" && $line !~ //) { print $out ""; } } print $out $line; $count++ if ($line =~ m|^|); if ($count == $size) { - if ($indexmode == "dom" && $line !~ m||) { + if ($indexmode eq "dom" && $line !~ m||) { print $out ""; } $count = 0; -- 2.39.5