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

sh: 15: hash: Illegal option -t #693

Open
ljh433 opened this issue May 26, 2024 · 1 comment
Open

sh: 15: hash: Illegal option -t #693

ljh433 opened this issue May 26, 2024 · 1 comment

Comments

@ljh433
Copy link

ljh433 commented May 26, 2024

when i Patch Gromacs with Colvars (sh ./colvars-master/update-colvars-code.sh ./gromacs-2020.6),there is an error:./colvars-master/update-colvars-code.sh: 15: hash: Illegal option -t. May I ask what the reason is. How to solve this problem?

@jhenin
Copy link
Member

jhenin commented May 28, 2024

It looks like you are using an incompatible version of sh. Try calling the script with bash, or just execute the script without specifying the shell.

Then, please write a comment here to let us know if that solved the issue.

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