Skip to content

Commit

Permalink
Fix deps folder for OSX
Browse files Browse the repository at this point in the history
  • Loading branch information
abelsiqueira committed Dec 14, 2016
1 parent 256f7ec commit 0b3415e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions deps/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ function validate_libcutest()
myarch = get(ENV, "MYARCH", "")
hs3 = env_cutest == "" ? "HS3.SIF" : joinpath(env_cutest, "sif", "HS3.SIF")
tmpdir = mktempdir()
cd(tmpdir)
try
cd(tmpdir) do
outlog = tempname()
Expand Down Expand Up @@ -61,7 +60,12 @@ else
end
end
end
println(cenv, "ENV[\"CUTEst problems\"] = \"$(pwd())/problems\"")
cd(here) do
isdir("files") && rm("files", recursive=true)
mkdir("files")
end
path = joinpath(here, "files", "problems")
println(cenv, "ENV[\"CUTEst problems\"] = \"$path\"")
end
end

Expand Down

0 comments on commit 0b3415e

Please sign in to comment.