This should fix #226
That's not the best patch ever, but that'll fix 'uname -s' when some env variables contain hyphens (which seems to be valid with bash but not with sh). Unix.open_process_in is hard-coding '/bin/sh', so switch to the more neutral Unix.create_process
fix the heuristic to retrieve NAME and VERSION
The 'OpamMisc.cut_at' test can be safely removed because 'of_filename' ends every execution paths by 'of_string_opt' (or returns 'None' without exception), and 'of_string_opt' also performs the ' ' checking. However the semantic is changed as it fixes #216 .
So now, one can write: ocaml-version: [ >= 3.12.1 & <= 4.00.0 ]
That's part of #212
[cosmetic] optionally output "preinstalled"
we continue c340757
fix opam build
…instead Closes OCamlPro/opam#217
Conflicts: src/opamFile.mli src/opamGlobals.ml.in src/opamSystem.ml
The API is now much cleaner. There are still some work to do to clean-up OpamClient.ml, this can be fixed later.
Added mention of the Dose library (which is distinct from the Cudf one)