Changeset 27791 for main


Ignore:
Timestamp:
07/09/13 18:50:07 (8 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.

File:
1 edited

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