New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ocamlbuild -build-dir dangerous behaviour #5996
Comments
Comment author: @ygrek PEBKAC, ocamlbuild behaviour is correct. |
Comment author: william ah ah.
and '~' can be removed by doing : |
Comment author: william for information, there is no big deal with all this, there may be more important things. also, it was quite clear in the doc that build dir was to be local. |
Comment author: @gasche There are some difficulties with absolute vs. relative paths in various places in OCamlbuild. This precise issue is at least a case of confusing user interface. |
Comment author: @damiendoligez FTR, ' Maybe we should special-case ~ in the |
Comment author: @damiendoligez ocamlbuild is now a separate project that lives on GitHub. |
Original bug ID: 5996
Reporter: william
Status: resolved (set by @damiendoligez on 2017-02-24T15:29:56Z)
Resolution: suspended
Priority: normal
Severity: minor
Platform: Linux
Version: 4.00.1
Target version: later
Category: -for ocamlbuild use https://github.com/ocaml/ocamlbuild/issues
Monitored by: @gasche @hcarty
Bug description
I run this command :
ocamlbuild -build-dir ../../toto ..
which did not work
mkdir: impossible de créer le répertoire « /home/william/tmp/test/test2/.. »: Le fichier existe
Command exited with code 1.
Failure:
Error during command "mkdir /home/troit/tmp/test/test2/..": My_std.Exit_with_code(10).
then I did this :
ocamlbuild -build-dir '
/svn/build'' in the repository where I executed ocamlbuildwhich created the directory '
Then I wanted to remove the directory :
rm -Rf ~
:-|
Don't explain you what the problem is. Felt like a newbe
The text was updated successfully, but these errors were encountered: