[Koha-cvs] CVS: koha/marc updatedb2marc.pl,1.3,1.4
Paul POULAIN
tipaul at users.sourceforge.net
Fri Dec 20 14:55:03 CET 2002
Update of /cvsroot/koha/koha/marc
In directory sc8-pr-cvs1:/tmp/cvs-serv3567/marc
Modified Files:
updatedb2marc.pl
Log Message:
uses temp koha.conf file by default
Index: updatedb2marc.pl
===================================================================
RCS file: /cvsroot/koha/koha/marc/updatedb2marc.pl,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** updatedb2marc.pl 5 Oct 2002 10:11:04 -0000 1.3
--- updatedb2marc.pl 20 Dec 2002 13:55:01 -0000 1.4
***************
*** 23,27 ****
use strict;
require Exporter;
! use C4::Context;
use C4::Catalogue;
use C4::Biblio;
--- 23,27 ----
use strict;
require Exporter;
! use C4::Context("/etc/koha.conf.tmpXX");
use C4::Catalogue;
use C4::Biblio;
***************
*** 31,34 ****
--- 31,38 ----
#die;
my $dbh = C4::Context->dbh;
+ my $sth = $dbh->prepare("select * from systempreferences");
+ $sth->execute;
+ print "connecté\n";
+ die;
$dbh->do("delete from marc_biblio");
$dbh->do("delete from marc_blob_subfield");
More information about the Koha-cvs
mailing list