Skip to content
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

Enforce the macOS sandbox script to use /bin/bash instead of /usr/bin/env bash for a more consistent experience #5451

Merged
merged 2 commits into from
Mar 6, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions master_changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ users)
* Get rid of OPAM_USER_PATH_RO (never used on macOS and no longer needed on Linux) [#4795 @kit-ty-kate]
* Print error message if command doesn't exist [#4971 @kit-ty-kat - fix #4112]
* Resolve symlink for `ccache` directory [#5267 @rjbou - fix #5194]
* Enforce the macOS sandbox script to use /bin/bash instead of /usr/bin/env bash for a more consistent experience [#5451 @kit-ty-kate]

## VCS
* Pass --depth=1 to git-fetch in the Git repo backend [#4442 @dra27]
Expand Down
2 changes: 1 addition & 1 deletion src/state/shellscripts/sandbox_exec.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
kit-ty-kate marked this conversation as resolved.
Show resolved Hide resolved
set -ue

POL='(version 1)(allow default)(deny network*)(deny file-write*)'
Expand Down