summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRich Megginson <rmeggins@redhat.com>2007-11-14 15:12:09 +0000
committerRich Megginson <rmeggins@redhat.com>2007-11-14 15:12:09 +0000
commitbc83e3255b4b0ebe31d9f42ad57fbea0bc49e056 (patch)
tree5ef084529a3f27d083ce59cc74697350dbbd0272
parent5370d95a66304870be8c7c1871ef1cb12d72ae86 (diff)
downloadds-bc83e3255b4b0ebe31d9f42ad57fbea0bc49e056.tar.gz
ds-bc83e3255b4b0ebe31d9f42ad57fbea0bc49e056.tar.xz
ds-bc83e3255b4b0ebe31d9f42ad57fbea0bc49e056.zip
Resolves: bug 345711
Description: migration : ignore idl switch value in 6.21 and earlier Fix Description: Have to assign the values directly to the array ref - not to a temp array ref
-rw-r--r--ldap/admin/src/scripts/DSMigration.pm.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/ldap/admin/src/scripts/DSMigration.pm.in b/ldap/admin/src/scripts/DSMigration.pm.in
index 84344152..e500bd26 100644
--- a/ldap/admin/src/scripts/DSMigration.pm.in
+++ b/ldap/admin/src/scripts/DSMigration.pm.in
@@ -143,8 +143,7 @@ sub getDBVERSION {
my $line = <DBVERSION>;
close DBVERSION;
chomp($line);
- my @foo = split("/", $line);
- $data = \@foo;
+ @{$data} = split("/", $line);
return ();
}