Skip to content

Commit 21184b5

Browse files
alexanderulanowskisimonster
authored andcommitted
fixed MATLAB home path finding for OSX (#101)
1 parent 828da9b commit 21184b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mxbase.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function matlab_home_path()
1010
default_dir = "/Applications"
1111
if isdir(default_dir)
1212
dirs = readdir(default_dir)
13-
filter!(app -> ismatch(r"^MATLAB_R[0-9]+[ab]\.app$", dirs), dirs)
13+
filter!(app -> ismatch(r"^MATLAB_R[0-9]+[ab]\.app$", app), dirs)
1414
if ~isempty(dirs)
1515
matlab_home = joinpath(default_dir, maximum(dirs))
1616
end

0 commit comments

Comments
 (0)