Skip to content

Commit ac0613f

Browse files
committed
fix undefined variable on windows build
1 parent 5f6c5d0 commit ac0613f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deps/build.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ function find_lib_ker()
7373
wpaths = [ENV["JULIA_WOLFRAM_DIR"]]
7474
else
7575
wpaths = String[]
76-
for dir in ["C:\\Program Files\\Wolfram Research\\Mathematica", "C:\\Program Files\\Wolfram Research\\Wolfram Engine"]
76+
for mpath in ["C:\\Program Files\\Wolfram Research\\Mathematica", "C:\\Program Files\\Wolfram Research\\Wolfram Engine"]
7777
if isdir(mpath)
7878
for ver in readdir(mpath)
79-
push!(wpaths, joinpath(dir, ver))
79+
push!(wpaths, joinpath(mpath, ver))
8080
end
8181
end
8282
end

0 commit comments

Comments
 (0)