Changeset 484 for trunk/src/civ.m


Ignore:
Timestamp:
Jun 27, 2012, 12:40:43 AM (12 years ago)
Author:
sommeria
Message:

bugs removed for windows OS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/civ.m

    r483 r484  
    8282if isfield(sparam,'BatchParam') && isfield(sparam.BatchParam,'BatchMode')
    8383    batch_mode=sparam.BatchParam.BatchMode; %sge is currently the only implemented batch mod
     84    test_command='';
    8485    switch batch_mode
    8586        case 'sge'
     
    8889            test_command='oarstat';
    8990    end
     91    if ~isempty(test_command)
    9092    [s,w]=system(test_command);
    9193    if isequal(s,0)
    9294        test_batch=1;
     95    end
    9396    end
    9497end
Note: See TracChangeset for help on using the changeset viewer.