Skip to content

Allow ramble to read from the config to specify shell inside scripts#412

Merged
douglasjacobsen merged 1 commit intoGoogleCloudPlatform:developfrom
rfbgo:scriptshell
Feb 16, 2024
Merged

Allow ramble to read from the config to specify shell inside scripts#412
douglasjacobsen merged 1 commit intoGoogleCloudPlatform:developfrom
rfbgo:scriptshell

Conversation

@rfbgo
Copy link
Copy Markdown
Collaborator

@rfbgo rfbgo commented Feb 15, 2024

This PR avoid ramble hard writing /bin/sh and instead uses the value of config:shell. This can either be sh/csh/fish/bat/pwsh as defined by our inherited code from spack:util:environment

In the future we might want to help a user directly emit calls to bash or zsh, which would be an easy alias in the env class.

@douglasjacobsen douglasjacobsen merged commit 1c16155 into GoogleCloudPlatform:develop Feb 16, 2024
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