Changeset 2259
- Timestamp:
- 09/18/09 10:10:27 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/utils/OS/scpin.m
r2207 r2259 58 58 string=[string packages{end} '\}']; 59 59 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 63 65 end 64 66 end
Note:
See TracChangeset
for help on using the changeset viewer.