greenstone.org greenstone wiki greenstone trac planet greenstone

Changeset 16362

Show
Ignore:
Timestamp:
2008-07-11 15:16:16 (3 months ago)
Author:
ak19
Message:

Changes for when client FLI runs against a remote GS server and remote Fedora

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • greenstone3/trunk/web/WEB-INF/cgi/gliserver.pl

    r16326 r16362  
    989989    } 
    990990 
    991     if (($script eq "import.pl") || ($script eq "buildcol.pl") || ($script eq "mkcol.pl")) { # || ($script eq "schedule.pl") 
     991    # mkcol.pl and import.pl, buildcol.pl, g2f-import.pl, g2f-buildcol.pl all need the -collectdir option passed 
     992    my $import_pl = "import.pl"; # import is a reserved word, need to put it in quotes 
     993     
     994    if (($script =~ /$import_pl|buildcol.pl/) || ($script eq "mkcol.pl")) { # || ($script eq "schedule.pl") 
    992995        my $collect_directory = $gsdl_cgi->get_collection_dir($site);  
    993         $perl_args = $perl_args . " -collectdir " . $collect_directory
     996        $perl_args = $perl_args . " -collectdir \"$collect_directory\""
    994997    } 
    995998