Changeset 27667

Show
Ignore:
Timestamp:
19.06.2013 21:44:50 (6 years ago)
Author:
ak19
Message:

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

Files:
1 modified

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