Skip to content

Commit

Permalink
put a try around the symlink in mkcachedir
Browse files Browse the repository at this point in the history
ref issue 12166
  • Loading branch information
tkelman committed Nov 17, 2015
1 parent 758e21e commit 6b979b6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions base/pkg/cache.jl
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ function mkcachedir()
if !isdir(rootcache)
mkdir(rootcache)
end
symlink(rootcache, cache)
return
try
symlink(rootcache, cache)
return
end
end
mkdir(cache)
end
Expand Down

0 comments on commit 6b979b6

Please sign in to comment.