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

Update setting PATH env for Linux build script #3932

Merged
merged 2 commits into from
Oct 14, 2024

Conversation

alexbeattie42
Copy link
Contributor

@alexbeattie42 alexbeattie42 commented Oct 4, 2024

Fixes issue #3928

Brief summary of changes

Check which shell the user is using and attempt to update path if the shell is bash.

Testing I've completed

Ran the build script multiple times to ensure that .bashrc is updated if variable exists and created if it doesn't.

Looking for feedback on...

  • Is is suitable to assume the system will have grep, and sed available?

CHANGELOG.md (choose one)

  • no need to update because the change only affects a build script

This change is Reviewable

@nickbianco
Copy link
Member

@alexbeattie42 sorry for the delay! Giving this a test locally now.

@nickbianco nickbianco self-assigned this Oct 14, 2024
Copy link
Member

@nickbianco nickbianco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for the nice change @alexbeattie42. I like that this also prevents the install path being repeatedly appended to ~/.bashrc.

@nickbianco nickbianco merged commit 37e40e1 into opensim-org:main Oct 14, 2024
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants