summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ocamlbuild/ocamlbuild_where.ml6
1 files changed, 4 insertions, 2 deletions
diff --git a/ocamlbuild/ocamlbuild_where.ml b/ocamlbuild/ocamlbuild_where.ml
index 1703a533e..14fcde5d7 100644
--- a/ocamlbuild/ocamlbuild_where.ml
+++ b/ocamlbuild/ocamlbuild_where.ml
@@ -1,5 +1,7 @@
let bindir = ref Ocamlbuild_Myocamlbuild_config.bindir;;
let libdir = ref begin
- try Filename.concat (Sys.getenv "OCAMLLIB") "ocamlbuild"
- with Not_found -> Ocamlbuild_Myocamlbuild_config.libdir
+ Filename.concat
+ (try Sys.getenv "OCAMLLIB"
+ with Not_found -> Ocamlbuild_Myocamlbuild_config.libdir)
+ "ocamlbuild"
end;;