Changeset 16362


Ignore:
Timestamp:
2008-07-11T15:16:16+12:00 (16 years ago)
Author:
ak19
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.