[Koha-cvs] CVS: koha/updater updatedatabase,1.4.2.23,1.4.2.24

Steve Tonnesen tonnesen at users.sourceforge.net
Fri Oct 25 20:52:49 CEST 2002


Update of /cvsroot/koha/koha/updater
In directory usw-pr-cvs1:/tmp/cvs-serv17425/updater

Modified Files:
      Tag: rel-1-2
	updatedatabase 
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: updatedatabase
===================================================================
RCS file: /cvsroot/koha/koha/updater/updatedatabase,v
retrieving revision 1.4.2.23
retrieving revision 1.4.2.24
diff -C2 -r1.4.2.23 -r1.4.2.24
*** updatedatabase	25 Oct 2002 18:28:39 -0000	1.4.2.23
--- updatedatabase	25 Oct 2002 18:52:47 -0000	1.4.2.24
***************
*** 14,17 ****
--- 14,29 ----
  # NOTE:  If you do something more than once in here, make it table driven.
  
+ # Set C4 module directory
+ 
+ BEGIN {
+     $::intranetdir=`grep intranetdir /etc/koha.conf`;
+     chomp $::intranetdir;
+     $::intranetdir=~s/\s*intranetdir\s*=\s*//i;
+     print "$::intranetdir\n";
+ }
+ 
+ use lib $::intranetdir."/modules";
+ 
+ 
  use strict;
  
***************
*** 404,407 ****
--- 416,425 ----
  
  # $Log$
+ # Revision 1.4.2.24  2002/10/25 18:52:47  tonnesen
+ # 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).
+ #
  # Revision 1.4.2.23  2002/10/25 18:28:39  tonnesen
  # Added admin script for editing z39.50 server list.





More information about the Koha-cvs mailing list