Changeset 20958 for gsdl/trunk


Ignore:
Timestamp:
2009-11-18T15:53:17+13:00 (14 years ago)
Author:
ak19
Message:

When doing incremental import/build on a remote Greenstone server, the collection name ought to be at the end, since the incremental import (building) script expects the collection name to be the last in the list of arguments to Perl.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/cgi-bin/gliserver.pl

    r20253 r20958  
    10321032   
    10331033    if (($script =~ m/$import_pl|buildcol.pl/) || ($script eq "mkcol.pl")) { # || ($script eq "schedule.pl")
    1034     my $collect_directory = $gsdl_cgi->get_collection_dir($site); 
    1035     $perl_args = $perl_args . " -collectdir \"$collect_directory\"";
     1034    my $collect_directory = $gsdl_cgi->get_collection_dir($site);   
     1035    $perl_args = "-collectdir \"$collect_directory\" " . $perl_args;
    10361036    }
    10371037
Note: See TracChangeset for help on using the changeset viewer.