aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/mingwpath.ml
blob: f01b62ccefb8fb1c6b101cf8ecaecba1a993d964 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
(** Mingwpath *)

(** Converts mingw-encoded filenames such as:

      /c/Program Files/Ocaml/bin

    to a more windows-friendly form (but still with / instead of \) :

      c:/Program Files/Ocaml/bin

    This nice hack was suggested by Benjamin Monate (cf bug #2526)
    to mimic the cygwin-specific tool cygpath
*)

print_string Sys.argv.(1)