Fixed bug (wrong syntax for scp).

time-shift
Stéphane Adjemian (Charybdis) 2013-07-05 00:02:15 +02:00
parent d428124ac9
commit 1b35bfb211
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ else
mailto = mailreport; mailto = mailreport;
mailreport = 1; mailreport = 1;
fid = fopen('~/.matlab-send-report'); fid = fopen('~/.matlab-send-report');
system(['scp ' fgetl(fid) reportfile]) system(['scp ' reportfile ' ' fgetl(fid)]);
fclose(fid); fclose(fid);
else else
if ~isequal(mailreport,0) if ~isequal(mailreport,0)