Skip to content

Fix the sandbox scripts in absence of the OPAMROOT variable#5662

Merged
kit-ty-kate merged 1 commit intoocaml:masterfrom
kit-ty-kate:fix-sandbox
Sep 11, 2023
Merged

Fix the sandbox scripts in absence of the OPAMROOT variable#5662
kit-ty-kate merged 1 commit intoocaml:masterfrom
kit-ty-kate:fix-sandbox

Conversation

@kit-ty-kate
Copy link
Copy Markdown
Member

@kit-ty-kate kit-ty-kate commented Sep 11, 2023

Bug I introduced by error in #5634

/home/kit_ty_kate/.opam/opam-init/hooks/sandbox.sh contains local modification, overwrite ? [y/n] y
[ERROR] Sandboxing is not working on your platform archarm:
        "~/.opam/opam-init/hooks/sandbox.sh build sh -c echo SUCCESS | tee check-write" exited with code 1 "/home/kit_ty_kate/.opam/opam-init/hooks/sandbox.sh: line 105: OPAMROOT: unbound variable"

@kit-ty-kate
Copy link
Copy Markdown
Member Author

Merged without waiting for CI to finish to avoid breaking users of the master branch. We'll look into adding a test for the sandbox with an absent OPAMROOT variable in a subsequent PR soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants