[Koha] Building authority records after data migration

Robin Sheat robin at catalyst.net.nz
Fri Oct 4 10:57:35 NZDT 2013


Pablo Bianchi schreef op do 03-10-2013 om 10:46 [-0300]:
>     system("/usr/bin/perl /usr/share/koha/bin/migration_tools/
> rebuild_zebra.pl -b -a -z");
>     $num_bibs_processed++;
>     process_bib( $linker, $biblionumber )
>     [...]*

This seems like a bad thing to do, however I'll just address why it's
not working :)

> But, even this *should *work, it seems it doesn't, I wonder why...
> Paths
> are correct.

If you have a look at 'perldoc -f system' you'll see it takes a list,
whereas you've given it a string. All the arguments should be split up
so each one should be an element of the list. The easy way is to replace
the " quotes with qw( and ), making a quoted list.

-- 
Robin Sheat
Catalyst IT Ltd.
✆ +64 4 803 2204
GPG: 5FA7 4B49 1E4D CAA4 4C38  8505 77F5 B724 F871 3BDF



More information about the Koha mailing list