Changeset 91 for trunk/gsdl/bin/script


Ignore:
Timestamp:
1998-12-30T16:50:37+13:00 (25 years ago)
Author:
rjmcnab
Message:

Changed the directory structure (collect.cfg and site.cfg now reside
in the collection/etc directory). Changed all input to the library
software to be converted from utf-8 to unicode (info database, mg,
and display). Got lib.init to read in collect.cfg and build.cfg and
used the information to read in the macrofiles. Made it check for each
macro file in both the collection directory and then the main directory.

Location:
trunk/gsdl/bin/script
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/bin/script/gettext.pl

    r9 r91  
    4343    @plugins = ("RecPlug", "HTMLPlug", "TXTPlug");
    4444    if (-e "$ENV{'GSDLHOME'}/collect/$collection/collect.cfg") {
    45     $collectcfg = &colcfg::read_collect_cfg ("$ENV{'GSDLHOME'}/collect/$collection/collect.cfg");
     45    $collectcfg = &colcfg::read_collect_cfg ("$ENV{'GSDLHOME'}/collect/$collection/etc/collect.cfg");
    4646    if (defined $collectcfg->{'plugins'}) {
    4747        @plugins = @{$collectcfg->{'plugins'}};
  • trunk/gsdl/bin/script/gsdlinfo.pl

    r9 r91  
    2727@collections = ();
    2828foreach $dir (@dir) {
    29     if ($dir =~ /^(\..*|modelcol)$/) {
     29    if ($dir =~ /^(\..*|modelcol|CVS)$/) {
    3030    # do nothing
    3131
     
    3333    # read in the collection configuration file
    3434    my $collectcfg = {};
    35     if (-e "$ENV{'GSDLHOME'}/collect/$dir/collect.cfg") {
    36         $collectcfg = &colcfg::read_collect_cfg ("$ENV{'GSDLHOME'}/collect/$dir/collect.cfg");
     35    if (-e "$ENV{'GSDLHOME'}/collect/$dir/etc/collect.cfg") {
     36        $collectcfg = &colcfg::read_collect_cfg ("$ENV{'GSDLHOME'}/collect/$dir/etc/collect.cfg");
    3737    }
    3838    $collectcfg->{'collection'} = $dir;
  • trunk/gsdl/bin/script/import.pl

    r9 r91  
    3939    @plugins = ("RecPlug", "HTMLPlug", "TXTPlug");
    4040    if (-e "$ENV{'GSDLHOME'}/collect/$collection/collect.cfg") {
    41     $collectcfg = &colcfg::read_collect_cfg ("$ENV{'GSDLHOME'}/collect/$collection/collect.cfg");
     41    $collectcfg = &colcfg::read_collect_cfg ("$ENV{'GSDLHOME'}/collect/$collection/etc/collect.cfg");
    4242    if (defined $collectcfg->{'plugins'}) {
    4343        @plugins = @{$collectcfg->{'plugins'}};
Note: See TracChangeset for help on using the changeset viewer.