Changeset 2259


Ignore:
Timestamp:
09/18/09 10:10:27 (16 years ago)
Author:
Mathieu Morlighem
Message:

fixed loadresultsfromcluster (scp not working)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/utils/OS/scpin.m

    r2207 r2259  
    5858                string=[string packages{end} '\}'];
    5959
    60                 [status,result]=system(['scp ' host ':' path '/' string ' ./']);
    61                 if status,
    62                         error('scpin error message: could not call scp on *nix system');
     60                system(['scp ' host ':' path '/' string ' ./']);
     61                for i=1:numel(packages),
     62                        if ~exist(['./' packages{i}]),
     63                                error('scpin error message: could not call scp on *nix system');
     64                        end
    6365                end
    6466        end
Note: See TracChangeset for help on using the changeset viewer.