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

Install script shell #4

Open
lassepe opened this issue May 25, 2022 · 1 comment
Open

Install script shell #4

lassepe opened this issue May 25, 2022 · 1 comment
Assignees

Comments

@lassepe
Copy link
Contributor

lassepe commented May 25, 2022

The first few lines of the install_singularity.sh script switch to the shell that is set in the user's SHELL variable. For users that don't use a POSIX compliant shell, such as FISH, this can cause issues (and it did for me). I worked around this by explicitly setting SHELL=/bin/bash for the install procedure. However, unless otherwise needed, it may be advisable to just set an appropriate shebang on top of the script that enforces the correct shell instead of loading the users shell.

@klaxalk
Copy link
Member

klaxalk commented May 25, 2022

Ye, you are right. This is there solely for the reason of setting up the GO environment variables. I will think of an alternative solution to this. Thanks

@klaxalk klaxalk self-assigned this Mar 7, 2023
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

No branches or pull requests

2 participants