Skip to content

Commit

Permalink
fallback all executables to system PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Jul 1, 2020
1 parent 786b2c0 commit c89164a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fallbackexeext.m
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
end

if(exist([mcpath(exename) exesuff],'file')==0)
if(strcmp(exename,'tetgen'))
if(system(['which ' exename])==0)
return;
end
end
error([ 'The following executable:\n' ...
'\t%s%s\n' ...
'is missing. Please download it from ' ...
Expand Down

0 comments on commit c89164a

Please sign in to comment.