reporting: @report: simplify test for os x

time-shift
Houtan Bastani 2013-05-16 14:24:30 +02:00
parent 9d8c135f59
commit 08d1d0b521
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ if ~exist(o.filename, 'file')
end
if isempty(compiler)
if strcmp(computer, 'MACI') || strcmp(computer, 'MACI64')
if strncmp(computer, 'MACI', 4)
% Add most likely places for pdflatex to exist outside of default $PATH
[status, compiler] = ...
system(['PATH=$PATH:/usr/texbin:/usr/local/bin:/usr/local/sbin;' ...