From 08d1d0b5219da01d83e45158e8755a6b1e89258b Mon Sep 17 00:00:00 2001 From: Houtan Bastani Date: Thu, 16 May 2013 14:24:30 +0200 Subject: [PATCH] reporting: @report: simplify test for os x --- matlab/reports/@report/compile.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/reports/@report/compile.m b/matlab/reports/@report/compile.m index f83c5290d..d890c1134 100644 --- a/matlab/reports/@report/compile.m +++ b/matlab/reports/@report/compile.m @@ -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;' ...