bug fix for remote unix called by windows master

time-shift
Marco Ratto 2012-02-10 22:42:29 +01:00
parent ff5a802f65
commit 31feb32bd3
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ else
end
for indPC=1:length(Parallel),
if isunix
if ~ispc || strcmpi('unix',Parallel(indPC).OperatingSystem),
[NonServeS NonServeD]=system(['ssh ',Parallel(indPC).UserName,'@',Parallel(indPC).ComputerName,' rm -f ',Parallel(indPC).RemoteDirectory,'/',pname,fname]);
else
delete(['\\',Parallel(indPC).ComputerName,'\',Parallel(indPC).RemoteDrive,'$\',Parallel(indPC).RemoteDirectory,'\',pname,fname]);