Changeset 27791 for main

Show
Ignore:
Timestamp:
09.07.2013 18:50:07 (6 years ago)
Author:
ak19
Message:

Bugfix: when running buildcol.pl with -activate flag, the collection wasn't being passed to activate.pl anymore in the code rewrite because $collection was not defined.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/buildcolutils.pm

    r27563 r27791  
    748748    push(@activate_argv, '-incremental') if ($self->{'incremental'}); 
    749749    my $quoted_argv = join(' ', map { "\"$_\"" } @activate_argv); 
    750     my $activatecol_cmd = '"' . &util::get_perl_exec(). '" -S activate.pl ' . $quoted_argv . ' "' . $collection . '"'; 
     750    my $activatecol_cmd = '"' . &util::get_perl_exec(). '" -S activate.pl ' . $quoted_argv . ' "' . $self->get_collection() . '"'; 
    751751    my $activatecol_status = system($activatecol_cmd)/256; 
    752752