Skip to content

BUG: Remove source set-env and run it manually#64

Merged
khalford merged 1 commit intomasterfrom
Fix_sourcing
Jan 30, 2026
Merged

BUG: Remove source set-env and run it manually#64
khalford merged 1 commit intomasterfrom
Fix_sourcing

Conversation

@DavidFair
Copy link
Copy Markdown
Collaborator

As we run the shell script bootstrap.sh in a dedicated bash process and vars that we export also die with the process getting reaped. Because we also "set -euo pipefail" in bootstrap we cannot get the user to "source" the env, else any failing command from that point will close their session.

Update the docs to manually get the user to run source set-env.sh, and drop setting exit on pipefail to avoid killing the user's session.

Accompanying diff for our docs: https://stfc.atlassian.net/wiki/pages/diffpagesbyversion.action?pageId=211878034&selectedPageVersions=64&selectedPageVersions=65

As we run the shell script bootstrap.sh in a dedicated bash process and
vars that we export also die with the process getting reaped. Because we
also "set -euo pipefail" in bootstrap we cannot get the user to "source"
the env, else any failing command from that point will close their
session.

Update the docs to manually get the user to run `source set-env.sh`, and
drop setting exit on pipefail to avoid killing the user's session.
@DavidFair DavidFair added the bug Something isn't working label Jan 28, 2026
@khalford khalford merged commit a23c4d3 into master Jan 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants