Skip to content

Commit c89164a

Browse files
committed
fallback all executables to system PATH
1 parent 786b2c0 commit c89164a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fallbackexeext.m

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131
end
3232

3333
if(exist([mcpath(exename) exesuff],'file')==0)
34-
if(strcmp(exename,'tetgen'))
34+
if(system(['which ' exename])==0)
3535
return;
36-
end
36+
end
3737
error([ 'The following executable:\n' ...
3838
'\t%s%s\n' ...
3939
'is missing. Please download it from ' ...

0 commit comments

Comments
 (0)