Skip to content

Commit

Permalink
Merge branch 'master' of github.com:OCamlPro/opam
Browse files Browse the repository at this point in the history
  • Loading branch information
samoht committed Oct 10, 2012
2 parents 55ad5f5 + a1b41d7 commit 5098c57
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/opamSystem.ml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,10 @@ let log_file () =
!OpamGlobals.root_dir / "log" / f

let safe_mkdir dir =
let open Unix in
if not (Sys.file_exists dir) then
Unix.mkdir dir 0o755
try mkdir dir 0o755
with Unix_error(EEXIST,_,_) -> ()

let mkdir dir =
let rec aux dir =
Expand Down

0 comments on commit 5098c57

Please sign in to comment.