diff options
Diffstat (limited to 'tools/mingwpath.ml')
-rw-r--r-- | tools/mingwpath.ml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/mingwpath.ml b/tools/mingwpath.ml new file mode 100644 index 00000000..f01b62cc --- /dev/null +++ b/tools/mingwpath.ml @@ -0,0 +1,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) |