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

configure script fails when executed from ZSH #29

Open
Thomsch opened this issue Apr 14, 2021 · 0 comments
Open

configure script fails when executed from ZSH #29

Thomsch opened this issue Apr 14, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@Thomsch
Copy link
Contributor

Thomsch commented Apr 14, 2021

The instructions specify to use source experiment/configure to launch the experiment.

If the participant uses ZSH, the script fails because BASH_SOURCE[0] variable is not set which breaks path resolution in configure but also in setup.sh.

A workaround is to temporarily deactivate ZSH by typing bash in the terminal. However, this solution might be confusing to integrate into the instructions in the eventuality a participant uses ZSH.

My main idea to solve this issue is to update configure to force the use of Bash. The problem with this solution is that we're using source to run the script instead of simply executing ./configure where the bash shebang would take care of it (it is already present). I'm unsure how I would go about solving this issue.

@Thomsch Thomsch added the bug Something isn't working label Apr 14, 2021
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

No branches or pull requests

1 participant