Closed camlspotter closed 8 years ago
Ooops, a typo in a patch. I fixed it in the above comment.
Thanks, I integrated the change internally so that it will be present in the next release
Fixed in 113.33.03, this script now lives there: https://github.com/janestreet/js-build-tools
remove_cwd
ofjs-utils/gen_install.ml
assumes the environment is unix and directory separator is/
.In MinGW, the separator is not
/
but\
and thereforeremove_cwd
does not properly remove the cwd, which results in a invalidsexp.install
.Following patch fixes the issue, and I have verified Cygwin OPAM + MinGW OCaml successfully installs the library:
If you guys use this js-utils for other libraries the patch is also usable I guess.