Changeset 27667


Ignore:
Timestamp:
2013-06-19T21:44:50+12:00 (8 years ago)
Author:
ak19
Message:

Another change to not be linux/mac specific, so that the diffcol task will support windows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/nightly-tasks/diffcol/trunk/task.pl

    r27663 r27667  
    380380    print STDERR "$collection - Diffing:\n";
    381381    my $diffcol_dir = &filename_concat($ENV{'TASK_HOME'},"diffcol");
    382     $cmd = "./diffcol.pl -output xml -verbosity 10 $collection";   
     382    $cmd = "diffcol.pl -output xml -verbosity 10 $collection"; # need to run with ./diffcol.pl if bash script
    383383    &run_diff_script($cmd, $xml_fh, $diffcol_dir);
    384384
     
    402402    # we're in greenstone_home now
    403403    if(!$isWin) {   
    404     $cmd = "bash -c \"export GSDLHOME=&& source $setup_script.bash && cd $diffcol_dir && $cmd\"";
     404    $cmd = "bash -c \"export GSDLHOME=&& source $setup_script.bash && cd $diffcol_dir && ./$cmd\"";
    405405
    406406    } else { # Need to prefix cmd -c/-k as necessary
Note: See TracChangeset for help on using the changeset viewer.