Changeset 20958

Show
Ignore:
Timestamp:
18.11.2009 15:53:17 (10 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.

Files:
1 modified

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