-
Notifications
You must be signed in to change notification settings - Fork 360
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
Console.note from update_dot_profile can give erroneous or bad advice #3818
Comments
Indeed, sourcing Lines 881 to 895 in 6607da2
The thing is, sometimes |
Closing this issue. Feel free to reopen it if needed. |
While setting up a Dockerized OCaml environment, different builds of the container included these notes:
The first is guaranteed to lead directly to a seg fault from infinite sourcing, and the second is liable to do the same indirectly (see https://askubuntu.com/a/980143/503686).
A simplistic fix would be to add a check
dot_profile <> ~/.bashrc && dot_profile <> ~/.profile
toopam/src/state/opamEnv.ml
Lines 590 to 596 in 6607da2
However, I suspect it's likely we just want a better way of of handling this sourcing, if one can be found.
The text was updated successfully, but these errors were encountered: