[Koha-cvs] CVS: koha/acqui.simple bulkmarcimport.pl,1.3.2.2,1.3.2.3
Steve Tonnesen
tonnesen at users.sourceforge.net
Fri Oct 25 20:52:49 CEST 2002
Update of /cvsroot/koha/koha/acqui.simple
In directory usw-pr-cvs1:/tmp/cvs-serv17425/acqui.simple
Modified Files:
Tag: rel-1-2
bulkmarcimport.pl
Log Message:
Moved bulkmracimport.pl to scripts directory (through buildrelease script)
Made bulkmarcimport.pl and updatedatabase able to run from the command line
without specifying the location of the C4 module directory (determines the
directory from /etc/koha.conf).
Index: bulkmarcimport.pl
===================================================================
RCS file: /cvsroot/koha/koha/acqui.simple/bulkmarcimport.pl,v
retrieving revision 1.3.2.2
retrieving revision 1.3.2.3
diff -C2 -r1.3.2.2 -r1.3.2.3
*** bulkmarcimport.pl 20 Jun 2002 17:45:56 -0000 1.3.2.2
--- bulkmarcimport.pl 25 Oct 2002 18:52:47 -0000 1.3.2.3
***************
*** 11,14 ****
--- 11,22 ----
+ BEGIN {
+ $::intranetdir=`grep intranetdir /etc/koha.conf`;
+ chomp $::intranetdir;
+ $::intranetdir=~s/\s*intranetdir\s*=\s*//i;
+ print "$::intranetdir\n";
+ }
+
+ use lib $::intranetdir."/modules";
$file=$ARGV[0];
More information about the Koha-cvs
mailing list