reporting: @report: bug fix: test for os x on octave

time-shift
Houtan Bastani 2013-05-16 14:26:50 +02:00
parent 08d1d0b521
commit 0d9cf39fa0
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 strncmp(computer, 'MACI', 4)
if strncmp(computer, 'MACI', 4) || ~isempty(regexpi(computer, '.*apple.*', 'once'))
% 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;' ...